DirectoryAttributeModificationCollection.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Insert(Int32, DirectoryAttributeModification) method inserts a DirectoryAttributeModification object into the DirectoryAttributeModificationCollection collection at the specified 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
The zero-based index in the collection at which to insert the DirectoryAttributeModification object.
The DirectoryAttributeModification object to insert.
Exceptions
value
is a null reference (Nothing
in Visual Basic).
index
is less than zero, or index
is greater than the number of elements in the DirectoryAttributeModificationCollection object.
Applies to
.NET