Share via


DbGeography.Intersects(DbGeography) Method

Definition

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

public bool Intersects (System.Data.Entity.Spatial.DbGeography other);
member this.Intersects : System.Data.Entity.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.

Applies to