DsmlRequestDocument.IList.Add(Object) 方法

定义

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

要添加到集合的 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 为空引用(在 Visual Basic 中为 Nothing)。request is a null reference (Nothing in Visual Basic).

request 不是 DirectoryRequest 对象。request is not a DirectoryRequest object.

适用于