Редактиране

Споделяне чрез


DataColumnMappingCollection.CopyTo Method

Definition

Copies the elements of the collection to an array.

Overloads

CopyTo(Array, Int32)

Copies the elements of the DataColumnMappingCollection to the specified array.

CopyTo(DataColumnMapping[], Int32)

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

CopyTo(Array, Int32)

Source:
DataColumnMappingCollection.cs
Source:
DataColumnMappingCollection.cs
Source:
DataColumnMappingCollection.cs

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
Public Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array

An Array to which to copy DataColumnMappingCollection elements.

index
Int32

The starting index of the array.

Implements

See also

Applies to

CopyTo(DataColumnMapping[], Int32)

Source:
DataColumnMappingCollection.cs
Source:
DataColumnMappingCollection.cs
Source:
DataColumnMappingCollection.cs

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

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

See also

Applies to