DirectoryAttributeModificationCollection.Insert Methode

Definitie

Met Insert(Int32, DirectoryAttributeModification) de methode wordt een DirectoryAttributeModification object ingevoegd in de DirectoryAttributeModificationCollection verzameling op de opgegeven index.

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

Parameters

index
Int32

De op nul gebaseerde index in de verzameling waarop het DirectoryAttributeModification object moet worden ingevoegd.

value
DirectoryAttributeModification

Het DirectoryAttributeModification object dat moet worden ingevoegd.

Uitzonderingen

value is een null-verwijzing (Nothing in Visual Basic).

index kleiner is dan nul of index groter is dan het aantal elementen in het DirectoryAttributeModificationCollection object.

Van toepassing op