FilterDefinitionTDocument Conversion (ExpressionFuncTDocument, Boolean to FilterDefinitionTDocument) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
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