DbSpatialServices.GetIsEmpty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetIsEmpty(DbGeography) |
回傳一個可空的布林值,無論該 DbGeography 值為空。 |
| GetIsEmpty(DbGeometry) |
回傳一個可空的布林值,無論該 DbGeometry 值為空。 |
GetIsEmpty(DbGeography)
回傳一個可空的布林值,無論該 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 值為空,則為真;否則為假。
例外狀況
geographyValue 為零。
geographyValue 與此空間服務實作不相容。
適用於
GetIsEmpty(DbGeometry)
回傳一個可空的布林值,無論該 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 值為空,則為真;否則為假。
例外狀況
geometryValue 為零。
geometryValue 與此空間服務實作不相容。