DbSpatialServices.Touches(DbGeometry, DbGeometry) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定两个给定的 DbGeometry 值是否在空间上触控。
public abstract bool Touches (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
abstract member Touches : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public MustOverride Function Touches (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean
参数
- geometryValue
- DbGeometry
第一个几何图形值。
- otherGeometry
- DbGeometry
第二个几何图形值。
返回
如果 geometryValue 接触 otherGeometry,则为 true;否则为 false。
例外
geometryValue
或otherGeometry
为 null。
geometryValue
或otherGeometry
与此空间服务实现不兼容。