DbSpatialServices.Within(DbGeometry, DbGeometry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether one DbGeometry value is spatially within the other.
public abstract bool Within (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
abstract member Within : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public MustOverride Function Within (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean
Parameters
- geometryValue
- DbGeometry
The first geometry value.
- otherGeometry
- DbGeometry
The second geometry value.
Returns
true if geometryValue is within otherGeometry; otherwise false.
Exceptions
geometryValue
or
otherGeometry
is null.
geometryValue
or
otherGeometry
is not compatible with this spatial services implementation.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework