Skip to main content
All docs
V22.2

MongoDBQueryCollection.CopyTo(MongoDBQuery[], Int32) Method

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

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v22.2.dll

NuGet Package: DevExpress.DataAccess

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