Table of Contents

Method BitsAnySet

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

BitsAnySet(Expression<Func<TDocument, object>>, long)

Tests that the value of the named element has any of the specified bits set.

public static IMongoQuery BitsAnySet(Expression<Func<TDocument, object>> memberExpression, long bitmask)

Parameters

memberExpression Expression<Func<TDocument, object>>

The member expression.

bitmask long

The bitmask.

Returns

IMongoQuery

An IMongoQuery.