FilterDefinitionBuilderTDocumentGeoWithinCenter Method (FieldDefinitionTDocument, Double, Double, Double) |
Creates a geo within center filter.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax public FilterDefinition<TDocument> GeoWithinCenter(
FieldDefinition<TDocument> field,
double x,
double y,
double radius
)
Public Function GeoWithinCenter (
field As FieldDefinition(Of TDocument),
x As Double,
y As Double,
radius As Double
) As FilterDefinition(Of TDocument)
member GeoWithinCenter :
field : FieldDefinition<'TDocument> *
x : float *
y : float *
radius : float -> FilterDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTDocument
The field. - x
- Type: SystemDouble
The x. - y
- Type: SystemDouble
The y. - radius
- Type: SystemDouble
The radius.
Return Value
Type:
FilterDefinitionTDocumentA geo within center filter.
See Also