共用方式為


DbSpatialServices.GetIsClosed 方法

定義

多載

GetIsClosed(DbGeography)

傳回可為 null 的布林值,指出指定的 DbGeography 值是否會關閉,如果值不能代表曲線,就可能為 null。

GetIsClosed(DbGeometry)

傳回可為 null 的布林值,指出指定的 DbGeometry 值是否會關閉,如果值不能代表曲線,就可能為 null。

GetIsClosed(DbGeography)

傳回可為 null 的布林值,指出指定的 DbGeography 值是否會關閉,如果值不能代表曲線,就可能為 null。

public abstract Nullable<bool> GetIsClosed(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetIsClosed : System.Data.Entity.Spatial.DbGeography -> Nullable<bool>
Public MustOverride Function GetIsClosed (geographyValue As DbGeography) As Nullable(Of Boolean)

參數

geographyValue
DbGeography

地理位置值,其不需要表現曲線。

傳回

如果指定的 DbGeography 值已關閉,則為 True;否則為 false。

例外狀況

geographyValue 為 null。

geographyValue 與這個空間服務實作不相容。

適用於

GetIsClosed(DbGeometry)

傳回可為 null 的布林值,指出指定的 DbGeometry 值是否會關閉,如果值不能代表曲線,就可能為 null。

public abstract Nullable<bool> GetIsClosed(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetIsClosed : System.Data.Entity.Spatial.DbGeometry -> Nullable<bool>
Public MustOverride Function GetIsClosed (geometryValue As DbGeometry) As Nullable(Of Boolean)

參數

geometryValue
DbGeometry

幾何值,其不需要表現曲線。

傳回

如果指定的 DbGeography 值已關閉,則為 True;否則為 false。

例外狀況

geometryValue 為 null。

geometryValue 與這個空間服務實作不相容。

適用於