 | IFulltextQueryTDocumentLimit Method |
Limits the results returned by this query.
Namespace:
SphinxConnector.FluentApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
SyntaxIFulltextQuery<TDocument> Limit(
int skip,
int take
)
Function Limit (
skip As Integer,
take As Integer
) As IFulltextQuery(Of TDocument)
Parameters
- skip
- Type: SystemInt32
The number of results to skip. - take
- Type: SystemInt32
The maximum number of results to return.
Return Value
Type:
IFulltextQueryTDocumentThe current instance.
ExceptionsException | Condition |
---|
ArgumentException | Occurs when skip is less than zero or take is less or equal to zero. |
See Also