| GeoNearOperationTResult Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver.Core.Operations
 Syntax
SyntaxThe GeoNearOperationTResult type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | GeoNearOperationTResult | 
            Initializes a new instance of the GeoNearOperationTResult class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Collation | 
            Gets or sets the collation.
             | 
|  | CollectionNamespace | 
            Gets the collection namespace.
             | 
|  | DistanceMultiplier | 
            Gets or sets the distance multiplier.
             | 
|  | Filter | 
            Gets or sets the filter.
             | 
|  | IncludeLocs | 
            Gets or sets whether to include the locations of the matching documents.
             | 
|  | Limit | 
            Gets or sets the limit.
             | 
|  | MaxDistance | 
            Gets or sets the maximum distance.
             | 
|  | MaxTime | 
            Gets or sets the maximum time.
             | 
|  | MessageEncoderSettings | 
            Gets the message encoder settings.
             | 
|  | Near | 
            Gets the point for which to find the closest documents.
             | 
|  | ReadConcern | 
            Gets or sets the read concern.
             | 
|  | ResultSerializer | 
            Gets the result serializer.
             | 
|  | Spherical | 
            Gets or sets whether to use spherical geometry.
             | 
|  | UniqueDocs | 
            Gets or sets whether to return a document only once.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Execute | 
            Executes the operation.
             | 
|  | ExecuteAsync | 
            Executes the operation.
             | 
|  | GetHashCode | Serves as the default hash function.(Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ExecuteTResult | 
            Executes a read operation using a channel source.
            (Defined by OperationExtensionMethods.) | 
|  | ExecuteAsyncTResult | 
            Executes a read operation using a channel source.
            (Defined by OperationExtensionMethods.) | 
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
 See Also
See Also