SqlSpatialServices.GetIsEmpty 方法

定义

重载

GetIsEmpty(DbGeography)

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

GetIsEmpty(DbGeometry)

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

GetIsEmpty(DbGeography)

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

public override bool GetIsEmpty(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetIsEmpty : System.Data.Entity.Spatial.DbGeography -> bool
Public Overrides Function GetIsEmpty (geographyValue As DbGeography) As Boolean

参数

geographyValue
DbGeography

地理值。

返回

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

适用于

GetIsEmpty(DbGeometry)

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

public override bool GetIsEmpty(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetIsEmpty : System.Data.Entity.Spatial.DbGeometry -> bool
Public Overrides Function GetIsEmpty (geometryValue As DbGeometry) As Boolean

参数

geometryValue
DbGeometry

几何值。

返回

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

适用于