Table of Contents

Method SetGeoSpatialRange

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

SetGeoSpatialRange(double, double)

Sets the geospatial range.

public IndexOptionsBuilder SetGeoSpatialRange(double min, double max)

Parameters

min double

The min value of the range.

max double

The max value of the range.

Returns

IndexOptionsBuilder

The builder (so method calls can be chained).