CopyTo Method
Collapse the table of content
Expand the table of content

ConfigurationLockCollection.CopyTo Method (String[], Int32)


Copies the entire ConfigurationLockCollection collection to a compatible one-dimensional Array, starting at the specified index of the target array.

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

public void CopyTo(
	string[] array,
	int index


Type: System.String[]

A one-dimensional Array that is the destination of the elements copied from the ConfigurationLockCollection. The Array must have zero-based indexing.

Type: System.Int32

The zero-based index in array at which copying begins.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft