DataGridViewCellCollection.CopyTo(DataGridViewCell[], Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將整個儲存格集合複製到陣列中指定位置的陣列中。
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 開始複製的索引。