Share via


ConfigurationElementSchemaCollection.ICollection.CopyTo(Array, Int32) Method

Definition

Copies the elements of 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 ConfigurationElementSchemaCollection object to.

index
Int32

The index location at which to begin copying.

Implements

Remarks

The <xref:Microsoft.Web.Administration.ConfigurationElementSchemaCollection.System.Collections.ICollection.CopyTo%2A> method copies elements of the collection into the given array, starting at the given index. The array must be of a compatible type.

Applies to