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

应与此几何图形值进行比较的几何图形值进行包含。

返回

如果此几何图形值在内,则为

例外

适用于