Method BitsAnyClear
BitsAnyClear(FieldDefinition<TDocument>, long)
Creates a bits any clear filter.
public FilterDefinition<TDocument> BitsAnyClear(FieldDefinition<TDocument> field, long bitmask)
Parameters
field
FieldDefinition<TDocument>The field.
bitmask
longThe bitmask.
Returns
- FilterDefinition<TDocument>
A bits any clear filter.
BitsAnyClear(Expression<Func<TDocument, object>>, long)
Creates a bits any clear filter.
public FilterDefinition<TDocument> BitsAnyClear(Expression<Func<TDocument, object>> field, long bitmask)
Parameters
field
Expression<Func<TDocument, object>>The field.
bitmask
longThe bitmask.
Returns
- FilterDefinition<TDocument>
A bits any clear filter.