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

index
Type: System.Int32

The index location 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: