Table of Contents

Method BitsAnyClear

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

BitsAnyClear(FieldDefinition<TDocument>, long)

Creates a bits any clear filter.

public FilterDefinition<TDocument> BitsAnyClear(FieldDefinition<TDocument> field, long bitmask)

Parameters

field FieldDefinition<TDocument>

The field.

bitmask long

The bitmask.

Returns

FilterDefinition<TDocument>

A bits any clear filter.

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

Creates a bits any clear filter.

public FilterDefinition<TDocument> BitsAnyClear(Expression<Func<TDocument, object>> field, long bitmask)

Parameters

field Expression<Func<TDocument, object>>

The field.

bitmask long

The bitmask.

Returns

FilterDefinition<TDocument>

A bits any clear filter.