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
實作

屬性

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 的物件。

擴充方法

Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於