Table of Contents

Class GeoNearOptions

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

A builder for the options of the GeoNear command.

[Obsolete("Use GeoNearArgs instead.")]
public static class GeoNearOptions
Inheritance
GeoNearOptions
Inherited Members

Properties

Null

Gets a null value with a type of IMongoGeoNearOptions.

Methods

SetDistanceMultiplier(double)

Sets the distance multiplier.

SetMaxDistance(double)

Sets the max distance.

SetSpherical(bool)

Sets whether to use a spherical search.