DbGeometry.SpatialEquals(DbGeometry) Method

Definition

Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument.

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

Parameters

other
DbGeometry

The geometry value that should be compared with this geometry value for equality.

Returns

true if other is spatially equal to this geometry value; otherwise false.

Exceptions

Applies to