DataGridViewCellCollection.CopyTo(DataGridViewCell[], Int32) メソッド

定義

セルのコレクション全体を配列内の指定した位置にコピーします。

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)

パラメーター

array
DataGridViewCell[]

内容のコピー先となる配列。

index
Int32

array 内で要素のコピーを開始する位置のインデックス。

適用対象

こちらもご覧ください