Skip to main content

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

NuGet Package: DevExpress.Data

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