語言

DsmlResponseDocument 類別

定義

該 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
繼承
DsmlResponseDocument
實作

屬性

名稱 Description
Count

屬性 Count 包含此集合中的物件數量 DirectoryResponse 。

IsErrorResponse

屬性 IsErrorResponse 指定是否發生錯誤回應。

IsOperationError

該 IsOperationError 性質指定是否發生了操作錯誤回應。

IsSynchronized

該 IsSynchronized 屬性包含一個值,指示存取是否 DsmlResponseDocument 同步(執行緒安全)。

Item[Int32]

屬性包含 Item[Int32] 指定索引處的 DirectoryResponse 物件。

RequestId

該 RequestId 屬性包含與文件相關的 RequestID。

SyncRoot

該 SyncRoot 屬性包含一個物件,可用來同步存取 DsmlResponseDocument。

方法

名稱 Description
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 物件。

明確介面實作

名稱 Description
ICollection.CopyTo(Array, Int32)

將整個 DsmlResponseDocument 集合複製到一維陣列,從目標陣列指定的索引開始。

ICollection.Count

取得此集合中的物件數量 DirectoryResponse 。

ICollection.IsSynchronized

會獲得一個值,指示存取是否 DsmlResponseDocument 同步(執行緒安全)。

ICollection.SyncRoot

取得一個物件,可用來同步存取 DsmlResponseDocument。

擴充方法

名稱 Description
AsParallel(IEnumerable)

啟用查詢的平行處理。

AsQueryable(IEnumerable)

將 IEnumerable 轉換成 IQueryable。

Cast<TResult>(IEnumerable)

將 IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)

根據指定的型別篩選 IEnumerable 的專案。

適用於