ConfigurationSectionGroupCollection.CopyTo Method (ConfigurationSectionGroup[], Int32)

 

Copies this ConfigurationSectionGroupCollection object to an array.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public void CopyTo(
	ConfigurationSectionGroup[] array,
	int index
)

Parameters

array
Type: System.Configuration.ConfigurationSectionGroup[]

The array to copy the 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 Count plus index.

.NET Framework
Available since 2.0
Return to top
Show: