語言

DbGeometry.SpatialEquals(DbGeometry) 方法

定義

判斷此 DbGeometry 是否在空間上等於指定的 DbGeometry 參數。

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

參數

other
DbGeometry

應該將幾何值與此幾何值比較以求相等。

傳回

若 其他 空間等於該幾何值,則為真;否則為假。

例外狀況

適用於