Tab

Collection<T>.CopyTo(T[], Int32) Method

Copies the items from the collection to the specified array, starting at the specified index in the array object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public void CopyTo(
    T[] array,
    int index
)

Parameters

Name Type Description
array T[]

A zero-based System.Array object that receives the copied items from the Collection<T> collection.

index Int32

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

Remarks

Use this method to copy the contents of the Collection<T> into the specified System.Array object, starting at the specified index.

NOTE

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

Implements

See Also