DataRelationCollection.CopyTo(DataRelation[], Int32) 方法

定义

从指定的索引开始复制 DataRelation 对象的集合。Copies the collection of DataRelation objects starting at the specified index.

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

参数

array
DataRelation[]

该集合要复制到的 DataRelation 对象的数组。The array of DataRelation objects to copy the collection to.

index
Int32

从其开始的索引。The index to start from.

适用于