The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DirectoryAttribute::Insert Method (Int32, String^)
.NET Framework (current version)
The Insert method inserts the specified value into the DirectoryAttribute collection at the specified index.
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
Parameters
- index
-
Type:
System::Int32
The index in the DirectoryAttribute collection at which to insert the value.
- value
-
Type:
System::String^
The value to insert.
| Exception | Condition |
|---|---|
| ArgumentNullException | value contains a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | index is less than zero, or index is greater than the number of elements in the DirectoryAttribute object. |
.NET Framework
Available since 2.0
Available since 2.0
Show: