共用方式為


SqlSpatialServices.GetIsClosed 方法

定義

多載

GetIsClosed(DbGeography)

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

GetIsClosed(DbGeometry)

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

GetIsClosed(DbGeography)

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

public override Nullable<bool> GetIsClosed(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetIsClosed : System.Data.Entity.Spatial.DbGeography -> Nullable<bool>
Public Overrides Function GetIsClosed (geographyValue As DbGeography) As Nullable(Of Boolean)

參數

geographyValue
DbGeography

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

傳回

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

適用於

GetIsClosed(DbGeometry)

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

public override Nullable<bool> GetIsClosed(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetIsClosed : System.Data.Entity.Spatial.DbGeometry -> Nullable<bool>
Public Overrides Function GetIsClosed (geometryValue As DbGeometry) As Nullable(Of Boolean)

參數

geometryValue
DbGeometry

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

傳回

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

適用於