DsmlRequestDocument 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
DsmlRequestDocument 類別可讓您建置 DMSL 要求裝載 (例如 AddRequest、ModifyRequest 或 SearchRequest)。 它包含零個以上的 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 類別的執行個體。 |
屬性
| 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 關聯的 |
| ResponseOrder |
ResponseOrder 屬性包含會指定回應之順序的其中一個 DsmlResponseOrder 值。 |
| SyncRoot |
SyncRoot 屬性包含用來同步存取 DsmlRequestDocument 的物件。 |
方法
明確介面實作
| 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。 |