Edit

Share via


DbGeography.Intersects(DbGeography) Method

Definition

Determines whether this DbGeography value spatially intersects the specified DbGeography argument.

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

Parameters

other
DbGeography

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

Returns

true if other intersects this geography value; otherwise false.

Exceptions

Applies to