DsmlRequestDocument 類別

定義

DsmlRequestDocument 類別可讓您建置 DMSL 要求裝載 (例如 AddRequestModifyRequestSearchRequest)。 它包含零個以上的 DirectoryRequest 衍生物件。 使用者可以先新增、刪除、修改和列舉 DirectoryRequest,再傳送至伺服器。 DsmlRequestDocument 可以與任何 DSML 繫結類別搭配使用來傳輸文件 (例如 DsmlSoapHttpConnection)。

public ref class DsmlRequestDocument : System::DirectoryServices::Protocols::DsmlDocument, System::Collections::IList
public class DsmlRequestDocument : System.DirectoryServices.Protocols.DsmlDocument, System.Collections.IList
type DsmlRequestDocument = class
    inherit DsmlDocument
    interface IList
    interface ICollection
    interface IEnumerable
Public Class DsmlRequestDocument
Inherits DsmlDocument
Implements IList
繼承
DsmlRequestDocument
實作

建構函式

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 關聯的 RequestID

ResponseOrder

ResponseOrder 屬性包含會指定回應之順序的其中一個 DsmlResponseOrder 值。

SyncRoot

SyncRoot 屬性包含用來同步存取 DsmlRequestDocument 的物件。

方法

Add(DirectoryRequest)

Add(DirectoryRequest) 方法會將 DirectoryRequest 物件加入至集合。

Clear()

Clear() 方法會移除這個集合中的所有項目。

Contains(DirectoryRequest)

Contains(DirectoryRequest) 方法會判斷這個 DsmlRequestDocument 集合是否包含指定的 DirectoryRequest 物件。

CopyTo(DirectoryRequest[], Int32)

CopyTo(DirectoryRequest[], Int32) 方法會將整個 DsmlRequestDocument 集合複製至一維陣列,從目標陣列中所指定的索引開始。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetEnumerator()

GetEnumerator() 方法會傳回整個 DsmlRequestDocument 集合的列舉值。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IndexOf(DirectoryRequest)

IndexOf(DirectoryRequest) 方法會傳回指定之 DirectoryRequestDsmlRequestDocument 集合中第一個出現之符合項目的以零起始索引。

Insert(Int32, DirectoryRequest)

Insert(Int32, DirectoryRequest) 方法會在指定的索引處,將指定的 DirectoryRequest 物件插入 DsmlRequestDocument 集合。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(DirectoryRequest)

Remove(DirectoryRequest) 方法會從集合中移除第一個出現的指定 DirectoryRequest 物件。

RemoveAt(Int32)

RemoveAt(Int32) 方法會移除指定位置處的 DirectoryRequest 物件。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
ToXml()

ToXml() 方法會將集合中的每個 DirectoryRequest 物件變換成 XmlDocument 物件。

明確介面實作

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

適用於

另請參閱