Click or drag to resize
Query<TDocument>.BitsAllSet Method
Tests that the value of the named element has all of the specified bits set.

Namespace: MongoDB.Driver.Builders
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.2.0
Syntax
public static IMongoQuery BitsAllSet(
	Expression<Func<TDocument, Object>> memberExpression,
	long bitmask
)

Parameters

memberExpression
Type: System.Linq.Expressions.Expression<Func<TDocument, Object>>
The member expression.
bitmask
Type: System.Int64
The bitmask.

Return Value

Type: IMongoQuery
An IMongoQuery.
See Also