Back to Devexpress

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

corelibraries-devexpress-dot-utils-dot-dxcollectionbase-1-dot-copyto-x28-0-system-dot-int32-x29.md

latest1.3 KB
Original Source

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

NuGet Package : DevExpress.Data

Declaration

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

Parameters

NameTypeDescription
arrayT[]

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

DXCollectionBase<T> Class

DXCollectionBase<T> Members

DevExpress.Utils Namespace