FilterDefinitionBuilderTDocumentGeoWithinBox Method (FieldDefinitionTDocument, Double, Double, Double, Double) |
Creates a geo within box filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax public FilterDefinition<TDocument> GeoWithinBox(
FieldDefinition<TDocument> field,
double lowerLeftX,
double lowerLeftY,
double upperRightX,
double upperRightY
)
Public Function GeoWithinBox (
field As FieldDefinition(Of TDocument),
lowerLeftX As Double,
lowerLeftY As Double,
upperRightX As Double,
upperRightY As Double
) As FilterDefinition(Of TDocument)
member GeoWithinBox :
field : FieldDefinition<'TDocument> *
lowerLeftX : float *
lowerLeftY : float *
upperRightX : float *
upperRightY : float -> FilterDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTDocument
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:
FilterDefinitionTDocumentA geo within box filter.
See Also