DataRowCollection.CopyTo 方法

定义

从集合中的所有 DataRow 对象复制到给定数组中,从给定的目标数组索引开始。

重载

名称 说明
CopyTo(Array, Int32)

从集合中的所有 DataRow 对象复制到给定数组中,从给定的目标数组索引开始。

CopyTo(DataRow[], Int32)

从集合中的所有 DataRow 对象复制到给定数组中,从给定的目标数组索引开始。

CopyTo(Array, Int32)

Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
Source:
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)

Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
Source:
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

数组中开始复制的从零开始的索引。

适用于