DataGridViewCellCollection.CopyTo Method (DataGridViewCell[], Int32)

 

Copies the entire collection of cells into an array at a specified location within the array.

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

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

Parameters

array
Type: System.Windows.Forms.DataGridViewCell[]

The destination array to which the contents will be copied.

index
Type: System.Int32

The index of the element in array at which to start copying.

.NET Framework
Available since 2.0
Return to top
Show: