Click or drag to resize

GeoNearOptions Class

Note: This API is now obsolete.

A builder for the options of the GeoNear command.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.BuildersGeoNearOptions

Namespace:  MongoDB.Driver.Builders
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
[ObsoleteAttribute("Use GeoNearArgs instead.")]
public static class GeoNearOptions

The GeoNearOptions type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberNull
Gets a null value with a type of IMongoGeoNearOptions.
Top
Methods
  NameDescription
Public methodStatic memberSetDistanceMultiplier
Sets the distance multiplier.
Public methodStatic memberSetMaxDistance
Sets the max distance.
Public methodStatic memberSetSpherical
Sets whether to use a spherical search.
Top
See Also