OidCollection.ICollection.CopyTo(Array, Int32) OidCollection.ICollection.CopyTo(Array, Int32) Method

Definition

Copies the OidCollection object into an array.

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);

Parameters

array
Array Array

The array to copy the OidCollection object to.

index
Int32 Int32

The location where the copy operation starts.

Implements

Exceptions

array cannot be a multidimensional array.

-or-

The length of array is an invalid offset length.

The value of index is out range.

Remarks

This method copies an OidCollection object into an array at the specified location.

Applies to