FilterDefinitionBuilderTDocumentSizeLt Method (FieldDefinitionTDocument, 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(
FieldDefinition<TDocument> field,
int size
)
Public Function SizeLt (
field As FieldDefinition(Of TDocument),
size As Integer
) As FilterDefinition(Of TDocument)
member SizeLt :
field : FieldDefinition<'TDocument> *
size : int -> FilterDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTDocument
The field. - size
- Type: SystemInt32
The size.
Return Value
Type:
FilterDefinitionTDocumentA size less than filter.
See Also