Table of Contents

Class GeoNearResult

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

Represents the result of a GeoNear command.

[Serializable]
public abstract class GeoNearResult : CommandResult
Inheritance
GeoNearResult
Derived
Inherited Members
Extension Methods

Constructors

GeoNearResult(BsonDocument)

Initializes a new instance of the GeoNearResult class.

protected GeoNearResult(BsonDocument response)

Parameters

response BsonDocument

The response.

Properties

Hits

Gets the hits.

public GeoNearResult.GeoNearHits Hits { get; }

Property Value

GeoNearResult.GeoNearHits

HitsImplementation

Gets the hits.

protected abstract GeoNearResult.GeoNearHits HitsImplementation { get; }

Property Value

GeoNearResult.GeoNearHits

Namespace

Gets the namespace.

public string Namespace { get; }

Property Value

string

Stats

Gets the stats.

public GeoNearResult.GeoNearStats Stats { get; }

Property Value

GeoNearResult.GeoNearStats