編輯

共用方式為


DataGridViewColumnCollection.CopyTo(DataGridViewColumn[], Int32) Method

Definition

Copies the items from the collection to the given array.

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

Parameters

array
DataGridViewColumn[]

The destination DataGridViewColumn array.

index
Int32

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

Applies to

See also