DsmlRequestDocument 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
DsmlRequestDocument 类可让你生成 DSML 请求负载,如 AddRequest、ModifyRequest 或 SearchRequest。 它包含零个或多个 DirectoryRequest 派生对象。 用户可以先添加、删除、修改和枚举 DirectoryRequest,然后再发送到服务器。 DsmlRequestDocument 可以与任何 DSML 绑定类(如 DsmlSoapHttpConnection)一起使用,以传输文档。
public ref class DsmlRequestDocument : System::DirectoryServices::Protocols::DsmlDocument, System::Collections::IListpublic class DsmlRequestDocument : System.DirectoryServices.Protocols.DsmlDocument, System.Collections.IListtype DsmlRequestDocument = class
    inherit DsmlDocument
    interface IList
    interface ICollection
    interface IEnumerablePublic Class DsmlRequestDocument
Inherits DsmlDocument
Implements IList- 继承
- 实现
构造函数
| 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 | 
              RequestId 属性包含与 DsmlRequestDocument 关联的  | 
| ResponseOrder | ResponseOrder 属性包含 DsmlResponseOrder 的一个值,该值指定响应顺序。 | 
| SyncRoot | SyncRoot 属性包含一个可用于同步对 DsmlRequestDocument 的访问的对象。 | 
方法
显式接口实现
| 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 对象。 | 
扩展方法
| Cast<TResult>(IEnumerable) | 将 IEnumerable 的元素强制转换为指定的类型。 | 
| OfType<TResult>(IEnumerable) | 根据指定类型筛选 IEnumerable 的元素。 | 
| AsParallel(IEnumerable) | 启用查询的并行化。 | 
| AsQueryable(IEnumerable) | 将 IEnumerable 转换为 IQueryable。 |