Skip to main content
All docs
V24.1

MongoDBQueryCollection.Remove(MongoDBQuery) Method

Removes a specified query from 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 bool Remove(
    MongoDBQuery item
)

Parameters

Name Type Description
item MongoDBQuery

A MongoDB query.

Returns

Type Description
Boolean

true if the specified query is removed. false if the collection does not contain the specified query.

See Also