DsmlRequestDocument 类

定义

DsmlRequestDocument 使你能够生成 DSML 请求有效负载,例如 AddRequestModifyRequestSearchRequest。 它包含零个或多个 DirectoryRequest 派生对象。 用户可以在发送到服务器之前添加、删除、修改和枚举 DirectoryRequestDsmlRequestDocument 可与任何 DSML 绑定类一起使用来传输文档,例如 DsmlSoapHttpConnection

public ref class DsmlRequestDocument : System::DirectoryServices::Protocols::DsmlDocument, System::Collections::IList
public class DsmlRequestDocument : System.DirectoryServices.Protocols.DsmlDocument, System.Collections.IList
type DsmlRequestDocument = class
    inherit DsmlDocument
    interface IList
    interface ICollection
    interface IEnumerable
Public Class DsmlRequestDocument
Inherits DsmlDocument
Implements IList
继承
DsmlRequestDocument
实现

构造函数

名称 说明
DsmlRequestDocument()

构造 DsmlRequestDocument() 函数创建类的 DsmlRequestDocument 实例。

属性

名称 说明
Count

Count 属性包含此集合中的对象数 DirectoryRequest

DocumentProcessing

DocumentProcessing 属性包含一个值 DsmlDocumentProcessing ,该值指定如何处理集合的元素。

ErrorProcessing

ErrorProcessing 属性包含指定错误处理方式的值 DsmlErrorProcessing 之一。

IsFixedSize

IsFixedSize 属性包含一个值,该值指示是否 DsmlRequestDocument 具有固定大小。

IsReadOnly

IsReadOnly 属性包含一个值,该值指示是否 DsmlRequestDocument 为只读。

IsSynchronized

IsSynchronized 属性包含一个值,该值指示是否同步访问 DsmlRequestDocument 同步(线程安全)。

Item[Int32]

Item[Int32] 属性包含 DirectoryRequest 指定索引处的对象。

RequestId

获取或设置与 . DsmlRequestDocument.

ResponseOrder

ResponseOrder 属性包含指定响应顺序的值 DsmlResponseOrder 之一。

SyncRoot

SyncRoot 属性包含一个对象,该对象可用于同步对 . 的访问 DsmlRequestDocument

方法

名称 说明
Add(DirectoryRequest)

该方法 Add(DirectoryRequest) 将对象 DirectoryRequest 添加到集合中。

Clear()

该方法 Clear() 从此集合中删除所有项。

Contains(DirectoryRequest)

该方法 Contains(DirectoryRequest) 确定此 DsmlRequestDocument 集合是否包含指定的 DirectoryRequest 对象。

CopyTo(DirectoryRequest[], Int32)

该方法 CopyTo(DirectoryRequest[], Int32) 将整个 DsmlRequestDocument 集合复制到一维数组,从目标数组的指定索引处开始。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetEnumerator()

该方法 GetEnumerator() 返回整个 DsmlRequestDocument 集合的枚举器。

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
IndexOf(DirectoryRequest)

该方法IndexOf(DirectoryRequest)返回集合中DirectoryRequest指定DsmlRequestDocument对象的第一个匹配项的从零开始的索引。

Insert(Int32, DirectoryRequest)

该方法 Insert(Int32, DirectoryRequest) 将指定 DirectoryRequest 对象插入集合中的 DsmlRequestDocument 指定索引处。

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
Remove(DirectoryRequest)

该方法 Remove(DirectoryRequest) 从集合中删除指定 DirectoryRequest 对象的第一个匹配项。

RemoveAt(Int32)

该方法 RemoveAt(Int32) 删除 DirectoryRequest 位于指定位置的对象。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)
ToXml()

该方法将 ToXml() 集合中的每个 DirectoryRequest 对象转换为对象 XmlDocument

显式接口实现

名称 说明
ICollection.CopyTo(Array, Int32)

从目标数组的指定索引处开始,将整个 DsmlRequestDocument 集合复制到一维数组。

ICollection.Count

获取此集合中的对象数 DirectoryRequest

ICollection.IsSynchronized

获取一个值,该值指示对 DsmlRequestDocument 同步的访问是否同步(线程安全)。

ICollection.SyncRoot

获取可用于同步对 . DsmlRequestDocument的访问的对象。

IList.Add(Object)

将对象 DirectoryRequest 添加到集合。

IList.Clear()

从集合中删除所有项。

IList.Contains(Object)

指示此 DsmlRequestDocument 集合是否包含指定的 DirectoryRequest 对象。

IList.IndexOf(Object)

返回集合中DirectoryRequest指定DsmlRequestDocument对象的第一个匹配项的从零开始的索引。

IList.Insert(Int32, Object)

将指定的 DirectoryRequest 对象插入集合中的 DsmlRequestDocument 指定索引处。

IList.IsFixedSize

获取一个值,该值指示是否 DsmlRequestDocument 具有固定大小。

IList.IsReadOnly

获取一个值,该值指示是否 DsmlRequestDocument 为只读。

IList.Item[Int32]

获取或设置 DirectoryRequest 指定索引处的对象。

IList.Remove(Object)

从集合中删除指定 DirectoryRequest 对象的第一个匹配项。

IList.RemoveAt(Int32)

移除 DirectoryRequest 位于指定位置的对象。

扩展方法

名称 说明
AsParallel(IEnumerable)

启用查询的并行化。

AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryable

Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定类型。

OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。

适用于

另请参阅