DsmlRequestDocument.Insert(Int32, DirectoryRequest) DsmlRequestDocument.Insert(Int32, DirectoryRequest) DsmlRequestDocument.Insert(Int32, DirectoryRequest) DsmlRequestDocument.Insert(Int32, DirectoryRequest) Method

定義

Insert(Int32, DirectoryRequest) 方法會在指定的索引處,將指定的 DirectoryRequest 物件插入 DsmlRequestDocument 集合。The Insert(Int32, DirectoryRequest) method inserts the specified DirectoryRequest object into the DsmlRequestDocument collection at the specified index.

public:
 void Insert(int index, System::DirectoryServices::Protocols::DirectoryRequest ^ value);
public void Insert (int index, System.DirectoryServices.Protocols.DirectoryRequest value);
member this.Insert : int * System.DirectoryServices.Protocols.DirectoryRequest -> unit
Public Sub Insert (index As Integer, value As DirectoryRequest)

參數

index
Int32 Int32 Int32 Int32

集合中的索引,要在該處插入 DirectoryRequest 物件。The index in the collection at which to insert the DirectoryRequest object.

value
DirectoryRequest DirectoryRequest DirectoryRequest DirectoryRequest

要插入集合中的 DirectoryRequest 物件。The DirectoryRequest object to be inserted into the collection.

例外狀況

value 為 null 參考 (在 Visual Basic 中為 Nothing)。value is a null reference (Nothing in Visual Basic).

適用於