Share via


DbSpatialServices.GetIsRing(DbGeometry) Method

Definition

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.

public abstract Nullable<bool> GetIsRing (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetIsRing : System.Data.Entity.Spatial.DbGeometry -> Nullable<bool>
Public MustOverride Function GetIsRing (geometryValue As DbGeometry) As Nullable(Of Boolean)

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a curve.

Returns

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

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to