Table of Contents

Method SetLimit

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

SetLimit(int)

Sets the maximum number of results to return.

public GeoHaystackSearchOptionsBuilder<TDocument> SetLimit(int value)

Parameters

value int

The maximum number of results to return.

Returns

GeoHaystackSearchOptionsBuilder<TDocument>

The builder (so method calls can be chained).