DbSpatialServices.Within(DbGeometry, DbGeometry) 方法

定義

判斷一個 DbGeometry 值是否在空間上屬於另一個。

public:
 abstract bool Within(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Within(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Within : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Within (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

參數

geometryValue
DbGeometry

第一個幾何值。

otherGeometry
DbGeometry

第二個幾何值。

傳回

truegeometryValue 在 內; otherGeometry否則 false

例外狀況

geometryValue otherGeometry

geometryValue otherGeometry

適用於