Export (0) Print
Expand All
Expand Minimize

DbSpatialServices.Touches Method

.NET Framework 4.6 and 4.5

Determines whether the two given DbGeometry values spatially touch.

Namespace:  System.Data.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract bool Touches(
	DbGeometry geometryValue,
	DbGeometry otherGeometry
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The first geometry value.

otherGeometry
Type: System.Data.Spatial.DbGeometry

The second geometry value.

Return Value

Type: System.Boolean
true if geometryValue touches otherGeometry; otherwise false.

ExceptionCondition
ArgumentNullException

geometryValue otherGeometry

ArgumentException

geometryValue otherGeometry

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft