DataViewSettingCollection.CopyTo Method

Definition

Copies the collection objects to a one-dimensional Array instance starting at the specified index.

Overloads

CopyTo(Array, Int32)

Copies the collection objects to a one-dimensional Array instance starting at the specified index.

CopyTo(DataViewSetting[], Int32)

Copies the collection objects to a one-dimensional Array instance starting at the specified index.

CopyTo(Array, Int32)

Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs

Copies the collection objects to a one-dimensional Array instance starting at the specified index.

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

Parameters

ar
Array

The one-dimensional Array that is the destination of the values copied from the collection.

index
Int32

The index of the array at which to start inserting.

Implements

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(DataViewSetting[], Int32)

Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs
Source:
DataViewSettingCollection.cs

Copies the collection objects to a one-dimensional Array instance starting at the specified index.

C#
public void CopyTo(System.Data.DataViewSetting[] ar, int index);

Parameters

ar
DataViewSetting[]

The one-dimensional Array that is the destination of the values copied from the collection.

index
Int32

The index of the array at which to start inserting.

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