FilterDefinitionBuilderTDocumentSizeLt Method (ExpressionFuncTDocument, Object, Int32) |
Creates a size less than filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax public FilterDefinition<TDocument> SizeLt(
Expression<Func<TDocument, Object>> field,
int size
)
Public Function SizeLt (
field As Expression(Of Func(Of TDocument, Object)),
size As Integer
) As FilterDefinition(Of TDocument)
member SizeLt :
field : Expression<Func<'TDocument, Object>> *
size : int -> FilterDefinition<'TDocument>
Parameters
- field
- Type: System.Linq.ExpressionsExpressionFuncTDocument, Object
The field. - size
- Type: SystemInt32
The size.
Return Value
Type:
FilterDefinitionTDocumentA size less than filter.
See Also