DbGeometry.Touches(DbGeometry) 方法

定义

确定此 DbGeography 值是否触碰指定的 DbGeography 论据。

public bool Touches (System.Data.Entity.Spatial.DbGeometry other);
member this.Touches : System.Data.Entity.Spatial.DbGeometry -> bool
Public Function Touches (other As DbGeometry) As Boolean

参数

other
DbGeometry

应与该几何图形值比较的几何图形值。

返回

如果其他值触及此几何图形值,则为 true;否则为 false。

例外

适用于