DataColumnMappingCollection.CopyTo DataColumnMappingCollection.CopyTo DataColumnMappingCollection.CopyTo DataColumnMappingCollection.CopyTo Method

Definition

Copies the elements of the collection to an array.

Overloads

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the elements of the DataColumnMappingCollection to the specified array.

CopyTo(DataColumnMapping[], Int32) CopyTo(DataColumnMapping[], Int32) CopyTo(DataColumnMapping[], Int32) CopyTo(DataColumnMapping[], Int32)

Copies the elements of the DataColumnMappingCollection to the specified DataColumnMapping array.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the elements of the DataColumnMappingCollection 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

Parameters

array
Array Array Array Array

An Array to which to copy DataColumnMappingCollection elements.

index
Int32 Int32 Int32 Int32

The starting index of the array.

Implements

See also

CopyTo(DataColumnMapping[], Int32) CopyTo(DataColumnMapping[], Int32) CopyTo(DataColumnMapping[], Int32) CopyTo(DataColumnMapping[], Int32)

Copies the elements of the DataColumnMappingCollection to the specified DataColumnMapping array.

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

Parameters

array
DataColumnMapping[]

A DataColumnMapping array to which to copy the DataColumnMappingCollection elements.

index
Int32 Int32 Int32 Int32

The zero-based index in the array at which copying begins.

See also

Applies to