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