DbSpatialServices.GetIsEmpty 方法

定义

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

重载

GetIsEmpty(DbGeography)

返回一个可以为 null 的布尔值,指示给定的 DbGeography 值是否为空。

GetIsEmpty(DbGeometry)

返回一个可以为 null 的布尔值,指示给定的 DbGeometry 值是否为空。

GetIsEmpty(DbGeography)

返回一个可以为 null 的布尔值,指示给定的 DbGeography 值是否为空。

public:
 abstract bool GetIsEmpty(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract bool GetIsEmpty (System.Data.Spatial.DbGeography geographyValue);
abstract member GetIsEmpty : System.Data.Spatial.DbGeography -> bool
Public MustOverride Function GetIsEmpty (geographyValue As DbGeography) As Boolean

参数

geographyValue
DbGeography

地理值。

返回

如果给定的 DbGeography 值为空,则为 true;否则为 false

适用于

GetIsEmpty(DbGeometry)

返回一个可以为 null 的布尔值,指示给定的 DbGeometry 值是否为空。

public:
 abstract bool GetIsEmpty(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract bool GetIsEmpty (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetIsEmpty : System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function GetIsEmpty (geometryValue As DbGeometry) As Boolean

参数

geometryValue
DbGeometry

几何值。

返回

如果给定的 DbGeometry 值为空,则为 true;否则为 false

适用于