DsmlResponseDocument DsmlResponseDocument DsmlResponseDocument DsmlResponseDocument Class

定义

作为针对 DsmlRequestDocument 对象的响应生成的 DsmlResponseDocument 类,该类包含派生自 DirectoryResponse 的零个或多个对象。The DsmlResponseDocument class is a read-only collection generated as a response to a DsmlRequestDocument object that contains zero, or more, objects derived from 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
继承
DsmlResponseDocumentDsmlResponseDocumentDsmlResponseDocumentDsmlResponseDocument
实现

属性

Count Count Count Count

Count 属性包含此集合中 DirectoryResponse 对象的数目。The Count property contains the number of DirectoryResponse objects in this collection.

IsErrorResponse IsErrorResponse IsErrorResponse IsErrorResponse

The IsErrorResponse 属性指定是否已发生错误响应。The IsErrorResponse property specifies whether an error response has occurred.

IsOperationError IsOperationError IsOperationError IsOperationError

The IsOperationError 属性指定是否已发生操作错误响应。The IsOperationError property specifies whether an operation error response has occurred.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

IsSynchronized 属性包含一个指示是否同步对 DsmlResponseDocument 的访问(线程安全)的值。The IsSynchronized property contains a value that indicates whether access to the DsmlResponseDocument is synchronized (thread-safe).

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Item[Int32] 属性包含指定索引处的 DirectoryResponse 对象。The Item[Int32] property contains the DirectoryResponse object at the specified index.

RequestId RequestId RequestId RequestId

The RequestId 属性包含与该文档关联的 RequestID。The RequestId property contains the RequestID associated with the document.

SyncRoot SyncRoot SyncRoot SyncRoot

SyncRoot 属性包含一个可用于同步对 DsmlResponseDocument 的访问的对象。The SyncRoot property contains an object that can be used to synchronize access to the DsmlResponseDocument.

方法

CopyTo(DirectoryResponse[], Int32) CopyTo(DirectoryResponse[], Int32) CopyTo(DirectoryResponse[], Int32) CopyTo(DirectoryResponse[], Int32)

CopyTo(DirectoryResponse[], Int32) 方法将整个集合复制到一维数组中(从目标数组的指定索引处开始)。The CopyTo(DirectoryResponse[], Int32) method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

GetEnumerator() 方法返回整个 DsmlResponseDocument 集合的枚举器。The GetEnumerator() method returns an enumerator for the entire DsmlResponseDocument collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)
ToXml() ToXml() ToXml() ToXml()

ToXml() 方法将集合中的每个 DirectoryResponse 对象转换为 XmlDocument 对象。The ToXml() method transforms each DirectoryResponse object in the collection into an XmlDocument object.

显式界面实现

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

从目标数组的指定索引处开始,将整个 DsmlResponseDocument 集合复制到一维数组。Copies the entire DsmlResponseDocument collection to a one-dimensional array, starting at the specified index of the target array.

ICollection.Count ICollection.Count ICollection.Count ICollection.Count

获取此集合中 DirectoryResponse 对象的数目。Gets the number of DirectoryResponse objects in this collection.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

获取一个值,该值指示是否同步对 DsmlResponseDocument 的访问(线程安全)。Gets a value that indicates whether access to the DsmlResponseDocument is synchronized (thread-safe).

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

获取可用于同步对 DsmlResponseDocument 的访问的对象。Gets an object that can be used to synchronize access to the DsmlResponseDocument.

扩展方法

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

适用于