The requested page is not available for the requested platform. You are viewing the content for Default platform.

XafDataView.CopyTo(Array, Int32) Method

Copies the data records to an array, starting at a particular array index.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public void CopyTo(
    Array array,
    int index
)
Public Sub CopyTo(
    array As Array,
    index As Integer
)

Parameters

Name Type Description
array Array

A Array object which is the destination of the data records copied from XafDataView.

index Int32

An integer that is the zero-based index in array at which copying begins.

Remarks

This method retrieves data from the database and populates the data view's records list when this list is not yet initialized. Otherwise, the cached data records list is used. To remove the cache, use the XafDataView.Reload method.

See Also