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

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

Copies all the elements from the DXCollectionBase<T> instance to a one-dimensional array, starting at the specified index of the target array.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.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 one-dimensional array of <T> objects.

index Int32

An integer value specifying the zero-based index in the target array at which copying begins.

Implements

See Also