DbSpatialServices.Touches(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 the two given DbGeometry values spatially touch.
public:
 abstract bool Touches(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);public abstract bool Touches(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);abstract member Touches : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> boolPublic MustOverride Function Touches (geometryValue As DbGeometry, otherGeometry As DbGeometry) As BooleanParameters
- geometryValue
- DbGeometry
The first geometry value.
- otherGeometry
- DbGeometry
The second geometry value.
Returns
true if geometryValue touches otherGeometry; otherwise false.
Exceptions
geometryValue
otherGeometry
geometryValue
otherGeometry