DbSpatialServices.GetIsClosed 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個可空的布林值,該值是否 DbGeography 封閉。
多載
| 名稱 | Description |
|---|---|
| GetIsClosed(DbGeography) |
回傳一個可為無的布林值,該值是否 DbGeography 封閉,若該值不代表曲線,則可能是空值。 |
| GetIsClosed(DbGeometry) |
回傳一個可為無的布林值,該值是否 DbGeometry 封閉,若該值不代表曲線,則可能是空值。 |
GetIsClosed(DbGeography)
回傳一個可為無的布林值,該值是否 DbGeography 封閉,若該值不代表曲線,則可能是空值。
public:
abstract Nullable<bool> GetIsClosed(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract bool? GetIsClosed(System.Data.Spatial.DbGeography geographyValue);
abstract member GetIsClosed : System.Data.Spatial.DbGeography -> Nullable<bool>
Public MustOverride Function GetIsClosed (geographyValue As DbGeography) As Nullable(Of Boolean)
參數
- geographyValue
- DbGeography
地理值,不必代表曲線。
傳回
true若給定DbGeography值為閉合;否則,。 false
例外狀況
geographyValue
geographyValue
適用於
GetIsClosed(DbGeometry)
回傳一個可為無的布林值,該值是否 DbGeometry 封閉,若該值不代表曲線,則可能是空值。
public:
abstract Nullable<bool> GetIsClosed(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract bool? GetIsClosed(System.Data.Spatial.DbGeometry geometryValue);
abstract member GetIsClosed : System.Data.Spatial.DbGeometry -> Nullable<bool>
Public MustOverride Function GetIsClosed (geometryValue As DbGeometry) As Nullable(Of Boolean)
參數
- geometryValue
- DbGeometry
幾何值,不必代表曲線。
傳回
true若給定DbGeography值為閉合;否則,。 false
例外狀況
geometryValue
geometryValue