GetExteriorRing Method
TOC
Collapse the table of content
Expand the table of content

DbSpatialServices.GetExteriorRing Method (DbGeometry)

.NET Framework (current version)
 

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.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract DbGeometry GetExteriorRing(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The geometry value, which need not represent a polygon.

Return Value

Type: System.Data.Spatial.DbGeometry

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

Exception Condition
ArgumentNullException

geometryValue

ArgumentException

geometryValue

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft