ConfigurationChildElementCollection.ICollection.CopyTo(Array, Int32) Method

Definition

Copies the collection to 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

The array to copy the ConfigurationChildElementCollection object to.

index
Int32

The index location at which to begin copying.

Implements

Exceptions

ArgumentNullException

array is null.

ArgumentOutOfRangeException

The length of array is less than the value of the Count property plus index.

Applies to