使用英语阅读

通过


SqlSpatialServices.GetIsClosed 方法 (DbGeometry)

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

返回可以为 null 的布尔值,该值指示给定的 DbGeometry 值是否闭合;如果该值不表示曲线则可能为 null。

命名空间:  System.Data.Entity.SqlServer
程序集:  EntityFramework.SqlServer(在 EntityFramework.SqlServer.dll 中)

语法

声明
Public Overrides Function GetIsClosed ( _
    geometryValue As DbGeometry _
) As Nullable(Of Boolean)
用法
Dim instance As SqlSpatialServices 
Dim geometryValue As DbGeometry 
Dim returnValue As Nullable(Of Boolean)

returnValue = instance.GetIsClosed(geometryValue)

参数

返回值

类型:System.Nullable<Boolean>
如果给定的 DbGeography 值为闭合值,则为 true;否则为 false。

请参阅

参考

SqlSpatialServices 类

GetIsClosed 重载

System.Data.Entity.SqlServer 命名空间