Skip to main content
A newer version of this page is available. .

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

Declaration

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

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.

See Also