Share via


SectionDefinitionCollection.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 SectionDefinitionCollection object to.

index
Int32

The zero-based index in array 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