Share via


SqlSpatialServices.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 override System.Data.Entity.Spatial.DbGeometry GetExteriorRing (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetExteriorRing : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public Overrides 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.

Applies to