DbSpatialServices.GetIsClosed 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetIsClosed(DbGeography) |
返回可以为 null 的布尔值,该值给定的 DbGeography 值是否关闭,如果该值不表示曲线则可能为 null。 |
GetIsClosed(DbGeometry) |
返回可以为 null 的布尔值,该值给定的 DbGeometry 值是否关闭,如果该值不表示曲线则可能为 null。 |
GetIsClosed(DbGeography)
返回可以为 null 的布尔值,该值给定的 DbGeography 值是否关闭,如果该值不表示曲线则可能为 null。
public abstract Nullable<bool> GetIsClosed (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetIsClosed : System.Data.Entity.Spatial.DbGeography -> Nullable<bool>
Public MustOverride Function GetIsClosed (geographyValue As DbGeography) As Nullable(Of Boolean)
参数
- geographyValue
- DbGeography
不需要表示曲线的地理值。
返回
如果给定 DbGeography 值已关闭,则为 True;否则为 false。
例外
geographyValue
为 null。
geographyValue
与此空间服务实现不兼容。
适用于
GetIsClosed(DbGeometry)
返回可以为 null 的布尔值,该值给定的 DbGeometry 值是否关闭,如果该值不表示曲线则可能为 null。
public abstract Nullable<bool> GetIsClosed (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetIsClosed : System.Data.Entity.Spatial.DbGeometry -> Nullable<bool>
Public MustOverride Function GetIsClosed (geometryValue As DbGeometry) As Nullable(Of Boolean)
参数
- geometryValue
- DbGeometry
不需要表示曲线的几何图形值。
返回
如果给定 DbGeography 值已关闭,则为 True;否则为 false。
例外
geometryValue
为 null。
geometryValue
与此空间服务实现不兼容。