DbGeometry.Within(DbGeometry) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定此 DbGeography 值是否在其指定的 DbGeography 论据空间内。
public bool Within (System.Data.Entity.Spatial.DbGeometry other);
member this.Within : System.Data.Entity.Spatial.DbGeometry -> bool
Public Function Within (other As DbGeometry) As Boolean
参数
- other
- DbGeometry
应与该几何图形值比较包含的几何图形值。
返回
如果此几何图形值在其他范围内,则为 true;否则为 false。