Table of Contents

Method BitsAllClear

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

BitsAllClear(FieldDefinition<TDocument>, long)

Creates a bits all clear filter.

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

Parameters

field FieldDefinition<TDocument>

The field.

bitmask long

The bitmask.

Returns

FilterDefinition<TDocument>

A bits all clear filter.

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

Creates a bits all clear filter.

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

Parameters

field Expression<Func<TDocument, object>>

The field.

bitmask long

The bitmask.

Returns

FilterDefinition<TDocument>

A bits all clear filter.