DataListItemCollection.CopyTo(Array, Int32) Method

Definition

Copies all the items from this DataListItemCollection collection to the specified Array object, starting at the specified index in the Array object.

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

Parameters

array
Array

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

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 DataListItemCollection collection into the specified System.Array object, starting at the specified index.

Poznámka

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

Applies to

Produkt Verzie
.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