Class GeoNearResult.GeoNearHit
Represents a GeoNear hit.
public abstract class GeoNearResult.GeoNearHit
- Inheritance
-
GeoNearResult.GeoNearHit
- Derived
- Inherited Members
- Extension Methods
Constructors
GeoNearHit(BsonDocument)
Initializes a new instance of the GeoNearHit class.
public GeoNearHit(BsonDocument hit)
Parameters
hit
BsonDocumentThe hit.
Properties
Distance
Gets the distance.
public double Distance { get; }
Property Value
Document
Gets the document.
public object Document { get; }
Property Value
DocumentImplementation
Gets the document.
protected abstract object DocumentImplementation { get; }
Property Value
RawDocument
Gets the document as a BsonDocument.
public BsonDocument RawDocument { get; }