PropertyValueCollection::Insert Method (Int32, Object^)
.NET Framework (current version)
Inserts a property value into this collection at a specified index.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index at which to insert the property value.
- value
-
Type:
System::Object^
The property value to insert.
| Exception | Condition |
|---|---|
| ArgumentNullException | The property value is a null reference (Nothing in Visual Basic). |
| COMException | An error occurred during the call to the underlying interface. |
| IndexOutOfRangeException | The index is less than 0 (zero) or greater than the size of the collection. |
.NET Framework
Available since 1.1
Available since 1.1
Show: