DataKeyCollection.CopyTo(Array, Int32) Method

Definition

Copies all the items from the DataKeyCollection to the specified Array object, starting at the specified index in the Array object.

public void CopyTo (Array array, int index);

Parameters

array
Array

A zero-based Array object that receives the copied items from the DataKeyCollection.

index
Int32

The first position in the specified Array object to receive the copied contents.

Implements

Remarks

Use this method to copy the contents of the DataKeyCollection into the specified System.Array object, starting at the specified index.

Nota

The array parameter must be a zero-based System.Array object.

Applies to

Prodotto Versioni
.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

See also