語言

DbGeometry.Touches(DbGeometry) 方法

定義

判斷此 DbGeometry 值是否在空間上與指定的 DbGeometry 參數相連。

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

應該比較的幾何值與此幾何值。

傳回

若其他數值觸及該幾何值則為真;否則為假。

例外狀況

適用於