Click or drag to resize

GeoNearOperationTResult Class

Represents the geoNear command.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.Core.OperationsGeoNearOperationTResult

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public sealed class GeoNearOperation<TResult> : IReadOperation<TResult>

Type Parameters

TResult
The type of the result.

The GeoNearOperationTResult type exposes the following members.

Constructors
  NameDescription
Public methodGeoNearOperationTResult
Initializes a new instance of the GeoNearOperationTResult class.
Top
Properties
  NameDescription
Public propertyCollation
Gets or sets the collation.
Public propertyCollectionNamespace
Gets the collection namespace.
Public propertyDistanceMultiplier
Gets or sets the distance multiplier.
Public propertyFilter
Gets or sets the filter.
Public propertyIncludeLocs
Gets or sets whether to include the locations of the matching documents.
Public propertyLimit
Gets or sets the limit.
Public propertyMaxDistance
Gets or sets the maximum distance.
Public propertyMaxTime
Gets or sets the maximum time.
Public propertyMessageEncoderSettings
Gets the message encoder settings.
Public propertyNear
Gets the point for which to find the closest documents.
Public propertyReadConcern
Gets or sets the read concern.
Public propertyResultSerializer
Gets the result serializer.
Public propertySpherical
Gets or sets whether to use spherical geometry.
Public propertyUniqueDocs
Gets or sets whether to return a document only once.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodExecute
Executes the operation.
Public methodExecuteAsync
Executes the operation.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Extension Methods
See Also