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

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

Declaration

public void CopyTo(
    Array array,
    int index
)

Parameters

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.

Remarks

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

Note

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

See Also