Click or drag to resize

FilterDefinitionBuilderTDocumentBitsAllSet Method (ExpressionFuncTDocument, Object, Int64)

Creates a bits all set filter.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public FilterDefinition<TDocument> BitsAllSet(
	Expression<Func<TDocument, Object>> field,
	long bitmask
)

Parameters

field
Type: System.Linq.ExpressionsExpressionFuncTDocument, Object
The field.
bitmask
Type: SystemInt64
The bitmask.

Return Value

Type: FilterDefinitionTDocument
A bits all set filter.
See Also