DbSpatialServices.Within(DbGeometry, DbGeometry) 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定 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
 
第二个几何图形值。
返回
如果 geometryValue 位于 otherGeometry 中,则为 true;否则为 false。
例外
geometryValue
otherGeometry
geometryValue
otherGeometry