ConfigurationElementCollection.CopyTo Method (ConfigurationElement[], Int32)

 

Copies the contents of the ConfigurationElementCollection to an array.

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

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

Parameters

array
Type: System.Configuration.ConfigurationElement[]

Array to which to copy the contents of the ConfigurationElementCollection.

index
Type: System.Int32

Index location at which to begin copying.

.NET Framework
Available since 2.0
Return to top
Show: