DbGeometry.Within(DbGeometry) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷此 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。
例外狀況
other