DataColumnCollection::CopyTo Method (array<DataColumn^>^, Int32)

 

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(
	array<DataColumn^>^ array,
	int index
)

Parameters

array
Type: array<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: