Share via


DbGeometry.SpatialEquals(DbGeometry) 方法

定义

确定此 DbGeography 是否和其指定的 DbGeography 论据在空间上相同。

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

参数

other
DbGeometry

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

返回

如果 other 等于此几何值,则为 true;否则为 false

例外

适用于