Table of Contents

Method SetMaxDistance

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

SetMaxDistance(double)

Sets the max distance.

public GeoNearOptionsBuilder SetMaxDistance(double value)

Parameters

value double

The max distance.

Returns

GeoNearOptionsBuilder

The builder (so method calls can be chained).