FilterDefinitionBuilderTDocumentGtTField Method (ExpressionFuncTDocument, TField, TField) |
Creates a greater than filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax public FilterDefinition<TDocument> Gt<TField>(
Expression<Func<TDocument, TField>> field,
TField value
)
Public Function Gt(Of TField) (
field As Expression(Of Func(Of TDocument, TField)),
value As TField
) As FilterDefinition(Of TDocument)
member Gt :
field : Expression<Func<'TDocument, 'TField>> *
value : 'TField -> FilterDefinition<'TDocument>
Parameters
- field
- Type: System.Linq.ExpressionsExpressionFuncTDocument, TField
The field. - value
- Type: TField
The value.
Type Parameters
- TField
- The type of the field.
Return Value
Type:
FilterDefinitionTDocumentA greater than filter.
See Also