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