Edit

Share via


DbSpatialServices.GetIsClosed Method

Definition

Returns a nullable Boolean value that whether the given DbGeography value is closed.

Overloads

GetIsClosed(DbGeography)

Returns a nullable Boolean value that whether the given DbGeography value is closed, which may be null if the value does not represent a curve.

GetIsClosed(DbGeometry)

Returns a nullable Boolean value that whether the given DbGeometry value is closed, which may be null if the value does not represent a curve.

GetIsClosed(DbGeography)

Returns a nullable Boolean value that whether the given DbGeography value is closed, which may be null if the value does not represent a curve.

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)

Parameters

geographyValue
DbGeography

The geography value, which need not represent a curve.

Returns

true if the given DbGeography value is closed; otherwise, false.

Exceptions

geographyValue

geographyValue

Applies to

GetIsClosed(DbGeometry)

Returns a nullable Boolean value that whether the given DbGeometry value is closed, which may be null if the value does not represent a curve.

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)

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a curve.

Returns

true if the given DbGeography value is closed; otherwise, false.

Exceptions

geometryValue

geometryValue

Applies to