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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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