DbSpatialServices.GetIsRing Method (DbGeometry)

.NET Framework (current version)
 

Returns a nullable Boolean value that whether the given DbGeometry value is a ring, 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> GetIsRing(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The geometry value, which need not represent a curve.

Return Value

Type: System.Nullable<Boolean>

true if the given DbGeometry value is a ring; otherwise, false.

Exception Condition
ArgumentNullException

geometryValue

ArgumentException

geometryValue

.NET Framework
Available since 4.5
Return to top
Show: