DbGeography.SpatialEquals(DbGeography) Method

Definition

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

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

Parameters

other
DbGeography

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

Returns

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

Exceptions

Applies to