DataGridViewColumnCollection::CopyTo Method (array<DataGridViewColumn^>^, Int32)

 

Copies the items from the collection to the given array.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void CopyTo(
	array<DataGridViewColumn^>^ array,
	int index
)

Parameters

array
Type: array<System.Windows.Forms::DataGridViewColumn^>^

The destination DataGridViewColumn array.

index
Type: System::Int32

The index of the destination array at which to start copying.

.NET Framework
Available since 2.0
Return to top
Show: