DbSpatialServices.GetIsClosed Method

Definition

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.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)

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 is null.

geographyValue is not compatible with this spatial services implementation.

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.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)

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 is null.

geometryValue is not compatible with this spatial services implementation.

Applies to