Click or drag to resize

FilterDefinitionBuilderTDocumentGeoWithinBox Method (ExpressionFuncTDocument, Object, Double, Double, Double, Double)

Creates a geo within box filter.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public FilterDefinition<TDocument> GeoWithinBox(
	Expression<Func<TDocument, Object>> field,
	double lowerLeftX,
	double lowerLeftY,
	double upperRightX,
	double upperRightY
)

Parameters

field
Type: System.Linq.ExpressionsExpressionFuncTDocument, Object
The field.
lowerLeftX
Type: SystemDouble
The lower left x.
lowerLeftY
Type: SystemDouble
The lower left y.
upperRightX
Type: SystemDouble
The upper right x.
upperRightY
Type: SystemDouble
The upper right y.

Return Value

Type: FilterDefinitionTDocument
A geo within box filter.
See Also