Edit

Share via


DataTableMappingCollection.CopyTo Method

Definition

Copies the elements of a given collection to the specified array.

Overloads

CopyTo(Array, Int32)

Copies the elements of the DataTableMappingCollection to the specified array.

CopyTo(DataTableMapping[], Int32)

Copies the elements of the DataTableMapping to the specified array.

CopyTo(Array, Int32)

Source:
DataTableMappingCollection.cs
Source:
DataTableMappingCollection.cs
Source:
DataTableMappingCollection.cs

Copies the elements of the DataTableMappingCollection to the specified array.

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

Parameters

array
Array

An Array to which to copy the DataTableMappingCollection elements.

index
Int32

The starting index of the array.

Implements

Applies to

CopyTo(DataTableMapping[], Int32)

Source:
DataTableMappingCollection.cs
Source:
DataTableMappingCollection.cs
Source:
DataTableMappingCollection.cs

Copies the elements of the DataTableMapping to the specified array.

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

Parameters

array
DataTableMapping[]

A DataTableMapping to which to copy the DataTableMappingCollection elements.

index
Int32

The starting index of the array.

Applies to