DbSpatialServices.GetExteriorRing(DbGeometry) Method

Definition

Returns a DbGeometry value that represents the exterior ring of the given DbGeometry value, which may be null if the value does not represent a polygon.

public abstract System.Data.Entity.Spatial.DbGeometry GetExteriorRing (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetExteriorRing : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function GetExteriorRing (geometryValue As DbGeometry) As DbGeometry

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a polygon.

Returns

A DbGeometry value representing the exterior ring on geometryValue, if it represents a polygon; otherwise null.

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to