PropertyCollection::CopyTo Method (array<PropertyValueCollection^>^, Int32)
.NET Framework (current version)
Copies the all objects in this collection to an array, starting at the specified index in the target array.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
Parameters
- array
-
Type:
array<System.DirectoryServices::PropertyValueCollection^>^
The array of PropertyValueCollection objects that receives the elements of this collection.
- index
-
Type:
System::Int32
The zero-based index in array where this method starts copying this collection.
| Exception | Condition |
|---|---|
| COMException | An error occurred during the call to the underlying interface. |
.NET Framework
Available since 1.1
Available since 1.1
Show: