Click or drag to resize

IFindFluent<TDocument, TProjection>.Limit Method

Limits the number of documents.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
IFindFluent<TDocument, TProjection> Limit(
	Nullable<int> limit
)

Parameters

limit
Type: System.Nullable<Int32>
The limit.

Return Value

Type: IFindFluent<TDocument, TProjection>
The fluent find interface.
See Also