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


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


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