DsmlRequestDocument.Insert(Int32, DirectoryRequest) 方法

定义

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

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

value
DirectoryRequest

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

异常

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

适用于