Method Size
Size(FieldDefinition<TDocument>, int)
Creates a size filter.
public FilterDefinition<TDocument> Size(FieldDefinition<TDocument> field, int size)
Parameters
field
FieldDefinition<TDocument>The field.
size
intThe size.
Returns
- FilterDefinition<TDocument>
A size filter.
Size(Expression<Func<TDocument, object>>, int)
Creates a size filter.
public FilterDefinition<TDocument> Size(Expression<Func<TDocument, object>> field, int size)
Parameters
field
Expression<Func<TDocument, object>>The field.
size
intThe size.
Returns
- FilterDefinition<TDocument>
A size filter.