共用方式為


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。

適用於