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