SqlSpatialServices.GetIsEmpty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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。