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.

C#
public void CopyTo(Array array, int index);

Parameters

array
Array

An Array to which to copy DataColumnMappingCollection elements.

index
Int32

The starting index of the array.

Implements

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

CopyTo(DataColumnMapping[], Int32)

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

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

C#
public void CopyTo(System.Data.Common.DataColumnMapping[] array, int index);

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

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1