Skip to main content
All docs
V23.2

MongoDBQueryCollection.Contains(MongoDBQuery) Method

Checks whether the MongoDB query collection contains a specified query.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v23.2.dll

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

Declaration

public bool Contains(
    MongoDBQuery item
)

Parameters

Name Type Description
item MongoDBQuery

A MongoDB query.

Returns

Type Description
Boolean

true if the MongoDB query collection contains the specified query; otherwise, false.

See Also