PropertyCollection.CopyTo(PropertyValueCollection[], Int32) 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.
Copies the all objects in this collection to an array, starting at the specified index in the target array.
public:
void CopyTo(cli::array <System::DirectoryServices::PropertyValueCollection ^> ^ array, int index);
public void CopyTo (System.DirectoryServices.PropertyValueCollection[] array, int index);
member this.CopyTo : System.DirectoryServices.PropertyValueCollection[] * int -> unit
Public Sub CopyTo (array As PropertyValueCollection(), index As Integer)
Parameters
- array
- PropertyValueCollection[]
The array of PropertyValueCollection objects that receives the elements of this collection.
- index
- Int32
The zero-based index in array
where this method starts copying this collection.
Exceptions
An error occurred during the call to the underlying interface.