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 static GeoHaystackSearchOptionsBuilder SetLimit(int value)

Parameters

value int

The maximum number of results to return.

Returns

GeoHaystackSearchOptionsBuilder

The builder (so method calls can be chained).