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 内の要素のインデックス。

適用対象

こちらもご覧ください