Skip to main content
All docs
V25.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.v25.1.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