FilterDefinitionTDocument Conversion (ExpressionFuncTDocument, Boolean to FilterDefinitionTDocument) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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