Click or drag to resize

GeoSearchOperationTResult Class

Note: This API is now obsolete.

Represents the geoSearch command.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.Core.OperationsGeoSearchOperationTResult

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
[ObsoleteAttribute("The geoSearch command was deprecated in server version 4.4.")]
public sealed class GeoSearchOperation<TResult> : IReadOperation<TResult>

Type Parameters

TResult
The type of the result.

The GeoSearchOperationTResult type exposes the following members.

Constructors
  NameDescription
Public methodGeoSearchOperationTResult
Initializes a new instance of the GeoSearchOperationTResult class.
Top
Properties
  NameDescription
Public propertyCollectionNamespace
Gets the collection namespace.
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 propertySearch
Gets or sets the search.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Executes the operation.
Public methodExecuteAsync
Executes the operation.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also