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