DbSpatialServices.GetIsClosed Method (DbGeography)

.NET Framework (current version)
 

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.

Namespace:   System.Data.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract Nullable<bool> GetIsClosed(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The geography value, which need not represent a curve.

Return Value

Type: System.Nullable<Boolean>

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

Exception Condition
ArgumentNullException

geographyValue

ArgumentException

geographyValue

.NET Framework
Available since 4.5
Return to top
Show: