Skip to main content
All docs
V24.2

MongoDBQueryCollection.Insert(Int32, MongoDBQuery) Method

In This Article

Inserts a specified query to the MongoDB query collection.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

#Declaration

public void Insert(
    int index,
    MongoDBQuery item
)

#Parameters

Name Type Description
index Int32

A zero-based index of a collection element after which the new query should be inserted.

item MongoDBQuery

A MongoDB query.

See Also