DbGeometry.Within(DbGeometry) 方法

定義

判斷此 DbGeometry 值是否在指定的 DbGeometry 參數內。

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

參數

other
DbGeometry

幾何值應該與這個幾何值比較以進行包含。

傳回

true 若此幾何值在 other;,否則 false

例外狀況

適用於