DsmlResponseDocument 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
该DsmlResponseDocument类是作为对包含零个或多个派生自DsmlRequestDocument对象的对象的响应DirectoryResponse而生成的只读集合。
public ref class DsmlResponseDocument : System::DirectoryServices::Protocols::DsmlDocument, System::Collections::ICollection
public class DsmlResponseDocument : System.DirectoryServices.Protocols.DsmlDocument, System.Collections.ICollection
type DsmlResponseDocument = class
inherit DsmlDocument
interface ICollection
interface IEnumerable
Public Class DsmlResponseDocument
Inherits DsmlDocument
Implements ICollection
- 继承
- 实现
属性
| 名称 | 说明 |
|---|---|
| Count |
该 Count 属性包含此集合中的对象数 DirectoryResponse 。 |
| IsErrorResponse |
该 IsErrorResponse 属性指定是否发生了错误响应。 |
| IsOperationError |
该 IsOperationError 属性指定是否发生了操作错误响应。 |
| IsSynchronized |
该 IsSynchronized 属性包含一个值,该值指示是否同步访问 DsmlResponseDocument 同步(线程安全)。 |
| Item[Int32] |
该 Item[Int32] 属性包含 DirectoryResponse 指定索引处的对象。 |
| RequestId |
该 RequestId 属性包含与文档关联的 RequestID。 |
| SyncRoot |
该 SyncRoot 属性包含一个对象,该对象可用于同步对 . 的访问 DsmlResponseDocument。 |
方法
| 名称 | 说明 |
|---|---|
| CopyTo(DirectoryResponse[], Int32) |
该方法 CopyTo(DirectoryResponse[], Int32) 将整个集合复制到一维数组,从目标数组的指定索引处开始。 |
| Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetEnumerator() |
该方法 GetEnumerator() 返回整个 DsmlResponseDocument 集合的枚举器。 |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |
| ToXml() |
该方法将 ToXml() 集合中的每个 DirectoryResponse 对象转换为对象 XmlDocument 。 |
显式接口实现
| 名称 | 说明 |
|---|---|
| ICollection.CopyTo(Array, Int32) |
从目标数组的指定索引处开始,将整个 DsmlResponseDocument 集合复制到一维数组。 |
| ICollection.Count |
获取此集合中的对象数 DirectoryResponse 。 |
| ICollection.IsSynchronized |
获取一个值,该值指示对 DsmlResponseDocument 同步的访问是否同步(线程安全)。 |
| ICollection.SyncRoot |
获取可用于同步对 . DsmlResponseDocument的访问的对象。 |
扩展方法
| 名称 | 说明 |
|---|---|
| AsParallel(IEnumerable) |
启用查询的并行化。 |
| AsQueryable(IEnumerable) |
将 IEnumerable 转换为 IQueryable。 |
| Cast<TResult>(IEnumerable) |
将 IEnumerable 的元素强制转换为指定类型。 |
| OfType<TResult>(IEnumerable) |
根据指定类型筛选 IEnumerable 的元素。 |