SqlSpatialServices.GetExteriorRing Method (DbGeometry)

 

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.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

public override DbGeometry GetExteriorRing(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value, which need not represent a polygon.

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

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