SectionDefinitionCollection.ICollection.CopyTo Method (Array, Int32)

IIS 7.0
 

Copies the collection to an array.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

void ICollection.CopyTo(
	Array array,
	int index
)

Parameters

array
Type: System.Array

The array to copy the SectionDefinitionCollection object to.

index
Type: System.Int32

The zero-based index in array at which to begin copying.

Exception Condition
ArgumentNullException

array is null.

ArgumentOutOfRangeException

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

Return to top
Show: