Export (0) Print
Expand All

ConfigurationPropertyCollection.CopyTo Method

Copies this ConfigurationPropertyCollection to an array.

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

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

Parameters

array
Type: System.Configuration.ConfigurationProperty[]

Array to which to copy.

index
Type: System.Int32

Index at which to begin copying.

The following example shows how to use the CopyTo method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft