Skip to main content
All docs
V24.1

MongoDBQueryCollection.CopyTo(MongoDBQuery[], Int32) Method

Copies all queries from the MongoDB query collection to a specified array.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public void CopyTo(
    MongoDBQuery[] array,
    int arrayIndex
)

Parameters

Name Type Description
array MongoDBQuery[]

The target array of MongoDB queries.

arrayIndex Int32

The index of the array element that precedes the first inserted query. All other copied queries follow the first inserted query in the same order they had in the source collection.

See Also