DsmlRequestDocument.IList.Insert(Int32, Object) 方法

定义

将指定的 DirectoryRequest 对象插入到 DsmlRequestDocument 集合中的指定索引位置。Inserts the specified DirectoryRequest object into the DsmlRequestDocument collection at the specified index.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
Sub Insert (index As Integer, value As Object) Implements IList.Insert

参数

index
Int32

集合中 DirectoryRequest 对象插入处的索引。The index in the collection at which to insert the DirectoryRequest object.

value
Object

要插入到集合中的 DirectoryRequest 对象。The DirectoryRequest object to be inserted into the collection.

实现

异常

value 为空引用(在 Visual Basic 中为 Nothing)。value is a null reference (Nothing in Visual Basic).

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

适用于