SqlSpatialServices.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.
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 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)
Parameters
- geographyValue
- DbGeography
The geography value, which need not represent a curve.
Returns
True if the given DbGeography value is closed; otherwise, false.
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 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)
Parameters
- geometryValue
- DbGeometry
The geometry value, which need not represent a curve.
Returns
True if the given DbGeography value is closed; otherwise, false.
Applies to
Entity Framework