DbSpatialServices.Contains(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 spatially contains the other.
public:
abstract bool Contains(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Contains (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Contains : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Contains (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
contains otherGeometry
; otherwise false
.
Exceptions
geometryValue
otherGeometry
geometryValue
otherGeometry
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.