语言

DbGeography.Intersects(DbGeography) 方法

定义

确定此 DbGeography 值是否在空间上与指定的 DbGeography 参数相交。

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

参数

other
DbGeography

应与此地理值进行比较的地理值进行交集。

返回

如果其他相交此地理值,则为 true;否则为 false。

适用于