แก้ไข

แชร์ผ่าน


DataGridViewCellCollection.CopyTo(DataGridViewCell[], Int32) Method

Definition

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

public:
 void CopyTo(cli::array <System::Windows::Forms::DataGridViewCell ^> ^ array, int index);
public void CopyTo (System.Windows.Forms.DataGridViewCell[] array, int index);
override this.CopyTo : System.Windows.Forms.DataGridViewCell[] * int -> unit
Public Sub CopyTo (array As DataGridViewCell(), index As Integer)

Parameters

array
DataGridViewCell[]

The destination array to which the contents will be copied.

index
Int32

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

Applies to

See also