DsmlRequestDocument 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這個 DsmlRequestDocument 類別讓你能夠建立 DSML 請求的有效載荷,例如 AddRequest、 ModifyRequest或 SearchRequest。 它包含零個或多個 DirectoryRequest 派生物件。 使用者可以在傳送到伺服器前,先新增、刪除、修改及枚舉 DirectoryRequest 。 DsmlRequestDocument 可與任何 DSML Binding 類別搭配使用來傳輸文件,例如 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
- 繼承
- 實作
建構函式
| 名稱 | Description |
|---|---|
| DsmlRequestDocument() |
DsmlRequestDocument()建構子會建立該DsmlRequestDocument類別的實例。 |
屬性
| 名稱 | Description |
|---|---|
| Count |
屬性 Count 包含此集合中的物件數量 DirectoryRequest 。 |
| DocumentProcessing |
該 DocumentProcessing 屬性包含其中一個值,該值 DsmlDocumentProcessing 指定了集合元素的處理方式。 |
| ErrorProcessing |
該 ErrorProcessing 屬性包含其中一個值,該值 DsmlErrorProcessing 指定錯誤如何處理。 |
| IsFixedSize |
屬性 IsFixedSize 包含一個值,表示 是否 DsmlRequestDocument 具有固定大小。 |
| IsReadOnly |
該 IsReadOnly 屬性包含一個值,表示 是否 DsmlRequestDocument 為唯讀。 |
| IsSynchronized |
該 IsSynchronized 屬性包含一個值,指示存取是否 DsmlRequestDocument 同步(執行緒安全)。 |
| Item[Int32] |
屬性包含 Item[Int32] 指定索引處的 DirectoryRequest 物件。 |
| RequestId |
取得或設定與 DsmlRequestDocument. 相關聯的請求 ID |
| ResponseOrder |
屬性 ResponseOrder 包含其中一個值,該值 DsmlResponseOrder 指定了回應的順序。 |
| SyncRoot |
該 SyncRoot 屬性包含一個物件,可用來同步存取 DsmlRequestDocument。 |
方法
明確介面實作
| 名稱 | Description |
|---|---|
| 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 物體。 |
擴充方法
| 名稱 | Description |
|---|---|
| AsParallel(IEnumerable) |
啟用查詢的平行處理。 |
| AsQueryable(IEnumerable) |
將 IEnumerable 轉換成 IQueryable。 |
| Cast<TResult>(IEnumerable) |
將 IEnumerable 的項目轉換成指定的型別。 |
| OfType<TResult>(IEnumerable) |
根據指定的型別篩選 IEnumerable 的專案。 |