Click or drag to resize

FilterDefinitionBuilderTDocumentBitsAllSet Method (FieldDefinitionTDocument, Int64)

Creates a bits all set filter.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public FilterDefinition<TDocument> BitsAllSet(
	FieldDefinition<TDocument> field,
	long bitmask
)

Parameters

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

Return Value

Type: FilterDefinitionTDocument
A bits all set filter.
See Also