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