Click or drag to resize

GeoSearchOperationTResult Constructor

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public GeoSearchOperation(
	CollectionNamespace collectionNamespace,
	BsonValue near,
	IBsonSerializer<TResult> resultSerializer,
	MessageEncoderSettings messageEncoderSettings
)

Parameters

collectionNamespace
Type: MongoDB.DriverCollectionNamespace
The collection namespace.
near
Type: MongoDB.BsonBsonValue
The point for which to find the closest documents.
resultSerializer
Type: MongoDB.Bson.SerializationIBsonSerializerTResult
The result serializer.
messageEncoderSettings
Type: MongoDB.Driver.Core.WireProtocol.Messages.EncodersMessageEncoderSettings
The message encoder settings.
See Also