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。