DataViewSettingCollection.CopyTo 方法

定义

从指定的索引处开始,将集合对象复制到一维 Array 实例中。Copies the collection objects to a one-dimensional Array instance starting at the specified index.

重载

CopyTo(Array, Int32)

从指定的索引处开始,将集合对象复制到一维 Array 实例中。Copies the collection objects to a one-dimensional Array instance starting at the specified index.

CopyTo(DataViewSetting[], Int32)

从指定的索引处开始,将集合对象复制到一维 Array 实例中。Copies the collection objects to a one-dimensional Array instance starting at the specified index.

CopyTo(Array, Int32)

从指定的索引处开始,将集合对象复制到一维 Array 实例中。Copies the collection objects to a one-dimensional Array instance starting at the specified index.

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

参数

ar
Array

一维 Array,它是从集合所复制值的目标位置。The one-dimensional Array that is the destination of the values copied from the collection.

index
Int32

插入开始处的数组索引。The index of the array at which to start inserting.

实现

CopyTo(DataViewSetting[], Int32)

从指定的索引处开始,将集合对象复制到一维 Array 实例中。Copies the collection objects to a one-dimensional Array instance starting at the specified index.

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

参数

ar
DataViewSetting[]

一维 Array,它是从集合所复制值的目标位置。The one-dimensional Array that is the destination of the values copied from the collection.

index
Int32

插入开始处的数组索引。The index of the array at which to start inserting.

适用于