DsmlRequestDocument.IList.Add(Object) DsmlRequestDocument.IList.Add(Object) DsmlRequestDocument.IList.Add(Object) Method

定義

DirectoryRequest 物件加入至集合。Adds a DirectoryRequest object to the collection.

 virtual int System.Collections.IList.Add(System::Object ^ request) = System::Collections::IList::Add;
int IList.Add (object request);
Function Add (request As Object) As Integer Implements IList.Add

參數

request
Object Object Object

要新增到集合的 DirectoryRequest 物件。The DirectoryRequest object to add to the collection.

傳回

DsmlRequestDocument 集合的索引,DirectoryRequest 物件已在該處加入。The index of the DsmlRequestDocument collection at which the DirectoryRequest object was added.

實作

例外狀況

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

適用於