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