Skip to main content

StateManagedCollectionBase.CopyTo(Array, Int32) Method

Copies the items from the collection to the specified array, starting at the specified index in the array object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public void CopyTo(
    Array array,
    int index


Name Type Description
array Array

A zero-based System.Array object that receives the copied items from the StateManagedCollectionBase collection.

index Int32

The first position in the specified System.Array object to receive the copied contents.


Use this method to copy the contents of the StateManagedCollectionBase into the specified System.Array object, starting at the specified index.


The array parameter must be a zero-based System.Array object.

See Also