Method BitsAllSet
BitsAllSet(Expression<Func<TDocument, object>>, long)
Tests that the value of the named element has all of the specified bits set.
public IMongoQuery BitsAllSet(Expression<Func<TDocument, object>> memberExpression, long bitmask)
Parameters
memberExpression
Expression<Func<TDocument, object>>The member expression.
bitmask
longThe bitmask.
Returns
- IMongoQuery
An IMongoQuery.