Редагувати

Поділитися через


DataColumnCollection.CopyTo(DataColumn[], Int32) Method

Definition

Copies the entire collection into an existing array, starting at a specified index within the array.

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

Parameters

array
DataColumn[]

An array of DataColumn objects to copy the collection into.

index
Int32

The index to start from.

Applies to