MongoDBQueryCollection.IndexOf(MongoDBQuery) Method
Returns the index of a specified query in the MongoDB query collection.
Namespace: DevExpress.DataAccess.MongoDB
Assembly: DevExpress.DataAccess.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
item | MongoDBQuery | A MongoDB query. |
Returns
Type | Description |
---|---|
Int32 | The index of the specified query. If the collection does not contain the specified query, the method returns -1. |
See Also