共用方式為


DbGeometry.Within(DbGeometry) 方法

定義

判斷這個 DbGeometry 值是否在空間上位於指定的 DbGeometry 引數之內。

public bool Within(System.Data.Entity.Spatial.DbGeometry other);
member this.Within : System.Data.Entity.Spatial.DbGeometry -> bool
Public Function Within (other As DbGeometry) As Boolean

參數

other
DbGeometry

應該和這個幾何值針對內含項目做比較的幾何值。

傳回

如果這個幾何值位於其他範圍內,則為 true;否則為 false。

例外狀況

適用於