語言

DataRowCollection.CopyTo 方法

定義

將集合中的所有 DataRow 物件從指定的目標陣列索引開始複製到指定陣列中。

多載

名稱 Description
CopyTo(Array, Int32)

將集合中的所有 DataRow 物件從指定的目標陣列索引開始複製到指定陣列中。

CopyTo(DataRow[], Int32)

將集合中的所有 DataRow 物件從指定的目標陣列索引開始複製到指定陣列中。

CopyTo(Array, Int32)

來源:
DataRowCollection.cs
來源:
DataRowCollection.cs
來源:
DataRowCollection.cs
來源:
DataRowCollection.cs
來源:
DataRowCollection.cs

將集合中的所有 DataRow 物件從指定的目標陣列索引開始複製到指定陣列中。

public:
 override void CopyTo(Array ^ ar, int index);
public override void CopyTo(Array ar, int index);
override this.CopyTo : Array * int -> unit
Public Overrides Sub CopyTo (ar As Array, index As Integer)

參數

ar
Array

一維陣列,作為從 中複製 DataRowCollection元素的目的地。 陣列必須具有零基索引。

index
Int32

複製開始的陣列中以零為基礎的索引。

適用於

CopyTo(DataRow[], Int32)

來源:
DataRowCollection.cs
來源:
DataRowCollection.cs
來源:
DataRowCollection.cs
來源:
DataRowCollection.cs
來源:
DataRowCollection.cs

將集合中的所有 DataRow 物件從指定的目標陣列索引開始複製到指定陣列中。

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

參數

array
DataRow[]

一維陣列,作為從 中複製 DataRowCollection元素的目的地。 陣列必須具有零基索引。

index
Int32

複製開始的陣列中以零為基礎的索引。

適用於