Table of Contents

Class GeoNearResult<TDocument>

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

Represents the result of a GeoNear command.

[Serializable]
[BsonSerializer(typeof(GeoNearResult<>.Serializer))]
public class GeoNearResult<TDocument> : GeoNearResult

Type Parameters

TDocument

The type of the returned documents.

Inheritance
GeoNearResult<TDocument>
Inherited Members
Extension Methods

Constructors

GeoNearResult(BsonDocument)

Initializes a new instance of the GeoNearResult<TDocument> class.

public GeoNearResult(BsonDocument response)

Parameters

response BsonDocument

The response.

Properties

Hits

Gets the hits.

public GeoNearResult<TDocument>.GeoNearHits Hits { get; }

Property Value

GeoNearResult<TDocument>.GeoNearHits

HitsImplementation

Gets the hits.

protected override GeoNearResult.GeoNearHits HitsImplementation { get; }

Property Value

GeoNearResult.GeoNearHits