DbSpatialServices.GetIsClosed 方法

定义

返回一个可为 null 的布尔值,该值是否关闭给定 DbGeography 值。

重载

名称 说明
GetIsClosed(DbGeography)

返回一个可为 null 的布尔值,该值是否关闭给定 DbGeography 值,如果该值不表示曲线,该值可能为 null。

GetIsClosed(DbGeometry)

返回一个可为 null 的布尔值,该值是否关闭给定 DbGeometry 值,如果该值不表示曲线,该值可能为 null。

GetIsClosed(DbGeography)

返回一个可为 null 的布尔值,该值是否关闭给定 DbGeography 值,如果该值不表示曲线,该值可能为 null。

public:
 abstract Nullable<bool> GetIsClosed(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract bool? GetIsClosed(System.Data.Spatial.DbGeography geographyValue);
abstract member GetIsClosed : System.Data.Spatial.DbGeography -> Nullable<bool>
Public MustOverride Function GetIsClosed (geographyValue As DbGeography) As Nullable(Of Boolean)

参数

geographyValue
DbGeography

不需要表示曲线的地理值。

返回

如果给定 值已关闭,则为

例外

geographyValue

geographyValue

适用于

GetIsClosed(DbGeometry)

返回一个可为 null 的布尔值,该值是否关闭给定 DbGeometry 值,如果该值不表示曲线,该值可能为 null。

public:
 abstract Nullable<bool> GetIsClosed(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract bool? GetIsClosed(System.Data.Spatial.DbGeometry geometryValue);
abstract member GetIsClosed : System.Data.Spatial.DbGeometry -> Nullable<bool>
Public MustOverride Function GetIsClosed (geometryValue As DbGeometry) As Nullable(Of Boolean)

参数

geometryValue
DbGeometry

不需要表示曲线的几何图形值。

返回

如果给定 值已关闭,则为

例外

geometryValue

geometryValue

适用于