DataColumnCollection.CopyTo Method (DataColumn[], Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Copies the entire collection into an existing array, starting at a specified index within the array.

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

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

Parameters

array
Type: System.Data.DataColumn[]

An array of DataColumn objects to copy the collection into.

index
Type: System.Int32

The index to start from.

.NET Framework
Available since 2.0
Return to top
Show: