FilterDefinitionTDocument Conversion (ExpressionFuncTDocument, Boolean to FilterDefinitionTDocument) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax public static implicit operator FilterDefinition<TDocument> (
Expression<Func<TDocument, bool>> predicate
)
Public Shared Widening Operator CType (
predicate As Expression(Of Func(Of TDocument, Boolean))
) As FilterDefinition(Of TDocument)
F# does not support the declaration of new casting operators.
Parameters
- predicate
- Type: System.Linq.ExpressionsExpressionFuncTDocument, Boolean
The predicate.
Return Value
Type:
FilterDefinitionTDocument
The result of the conversion.
See Also