DbSpatialServices.GetIsEmpty 方法

定义

重载

GetIsEmpty(DbGeography)

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

GetIsEmpty(DbGeometry)

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

GetIsEmpty(DbGeography)

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

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

参数

geographyValue
DbGeography

地理值。

返回

如果给定 DbGeography 值为空,则为 True;否则为 false。

例外

geographyValue 为 null。

geographyValue 与此空间服务实现不兼容。

适用于

GetIsEmpty(DbGeometry)

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

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

参数

geometryValue
DbGeometry

几何值。

返回

如果给定 DbGeometry 值为空,则为 True;否则为 false。

例外

geometryValue 为 null。

geometryValue 与此空间服务实现不兼容。

适用于