Method SetLimit
SetLimit(int)
Sets the limit on the number of documents to be returned.
public virtual MongoCursor SetLimit(int limit)
Parameters
limit
intThe limit on the number of documents to be returned.
Returns
- MongoCursor
The cursor (so you can chain method calls to it).