FilterDefinitionBuilderTDocumentGeoIntersectsTCoordinates Method (ExpressionFuncTDocument, Object, GeoJsonGeometryTCoordinates) |
Creates a geo intersects filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax public FilterDefinition<TDocument> GeoIntersects<TCoordinates>(
Expression<Func<TDocument, Object>> field,
GeoJsonGeometry<TCoordinates> geometry
)
where TCoordinates : GeoJsonCoordinates
Public Function GeoIntersects(Of TCoordinates As GeoJsonCoordinates) (
field As Expression(Of Func(Of TDocument, Object)),
geometry As GeoJsonGeometry(Of TCoordinates)
) As FilterDefinition(Of TDocument)
member GeoIntersects :
field : Expression<Func<'TDocument, Object>> *
geometry : GeoJsonGeometry<'TCoordinates> -> FilterDefinition<'TDocument> when 'TCoordinates : GeoJsonCoordinates
Parameters
- field
- Type: System.Linq.ExpressionsExpressionFuncTDocument, Object
The field. - geometry
- Type: MongoDB.Driver.GeoJsonObjectModelGeoJsonGeometryTCoordinates
The geometry.
Type Parameters
- TCoordinates
- The type of the coordinates.
Return Value
Type:
FilterDefinitionTDocumentA geo intersects filter.
See Also