Redigera

Dela via


PropertyCollection.CopyTo(PropertyValueCollection[], Int32) Method

Definition

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.

Applies to