FilterDefinitionTDocument Conversion (ExpressionFuncTDocument, Boolean to FilterDefinitionTDocument) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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