Table of Contents

Class GeoNearArgs

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

Represents the arguments to the GeoNear method.

public class GeoNearArgs
Inheritance
GeoNearArgs
Inherited Members
Extension Methods

Properties

Collation

Gets or sets the collation.

public Collation Collation { get; set; }

Property Value

Collation

DistanceMultiplier

Gets or sets the distance multiplier.

public double? DistanceMultiplier { get; set; }

Property Value

double?

IncludeLocs

Gets or sets a value indicating whether to include locations in the results.

public bool? IncludeLocs { get; set; }

Property Value

bool?

Limit

Gets or sets the limit.

public int? Limit { get; set; }

Property Value

int?

MaxDistance

Gets or sets the max distance.

public double? MaxDistance { get; set; }

Property Value

double?

MaxTime

Gets or sets the max time.

public TimeSpan? MaxTime { get; set; }

Property Value

TimeSpan?

Near

Gets or sets the location near which to search.

public GeoNearPoint Near { get; set; }

Property Value

GeoNearPoint

Query

Gets or sets the query.

public IMongoQuery Query { get; set; }

Property Value

IMongoQuery

Spherical

Gets or sets a value indicating whether the search is on a spherical surface.

public bool? Spherical { get; set; }

Property Value

bool?

UniqueDocs

Gets or sets a value indicating whether to only return a document once even if matches multiple times.

public bool? UniqueDocs { get; set; }

Property Value

bool?