Skip to main content
All docs
V24.1

MongoDBQueryCollection.Insert(Int32, MongoDBQuery) Method

Inserts a specified query to the MongoDB query collection.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v24.1.dll

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

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