Click or drag to resize

FilterDefinitionBuilderTDocumentBitsAnySet Method (FieldDefinitionTDocument, Int64)

Creates a bits any set filter.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public FilterDefinition<TDocument> BitsAnySet(
	FieldDefinition<TDocument> field,
	long bitmask
)

Parameters

field
Type: MongoDB.DriverFieldDefinitionTDocument
The field.
bitmask
Type: SystemInt64
The bitmask.

Return Value

Type: FilterDefinitionTDocument
A bits any set filter.
See Also