Szerkesztés

Megosztás a következőn keresztül:


DataTableCollection.CopyTo(DataTable[], Int32) Method

Definition

Copies all the elements of the current DataTableCollection to a one-dimensional Array, starting at the specified destination array index.

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

Parameters

array
DataTable[]

The one-dimensional Array to copy the current DataTableCollection object's elements into.

index
Int32

The destination Array index to start copying into.

Remarks

This method can be overridden by a derived class.

Applies to