Tab
A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

public void CopyTo(
    T[] array,
    int index
)
Public Sub CopyTo(
    array As T(),
    index As Integer
)

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