Table of Contents

Class GeoNearResult<TDocument>.GeoNearHit

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

Represents a GeoNear hit.

public class GeoNearResult<TDocument>.GeoNearHit : GeoNearResult.GeoNearHit
Inheritance
GeoNearResult<TDocument>.GeoNearHit
Inherited Members
Extension Methods

Constructors

GeoNearHit(BsonDocument)

Initializes a new instance of the GeoNearHit class.

public GeoNearHit(BsonDocument hit)

Parameters

hit BsonDocument

The hit.

Properties

Document

Gets the document.

public TDocument Document { get; }

Property Value

TDocument

DocumentImplementation

Gets the document.

protected override object DocumentImplementation { get; }

Property Value

object