FilterDefinitionBuilderTDocumentBitsAnySet Method (ExpressionFuncTDocument, Object, Int64) |
Creates a bits any set filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax public FilterDefinition<TDocument> BitsAnySet(
Expression<Func<TDocument, Object>> field,
long bitmask
)
Public Function BitsAnySet (
field As Expression(Of Func(Of TDocument, Object)),
bitmask As Long
) As FilterDefinition(Of TDocument)
member BitsAnySet :
field : Expression<Func<'TDocument, Object>> *
bitmask : int64 -> FilterDefinition<'TDocument>
Parameters
- field
- Type: System.Linq.ExpressionsExpressionFuncTDocument, Object
The field. - bitmask
- Type: SystemInt64
The bitmask.
Return Value
Type:
FilterDefinitionTDocumentA bits any set filter.
See Also