DbSpatialServices.GetIsClosed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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