Export (0) Print
Expand All
Expand Minimize

DbSpatialServices.GetExteriorRing Method

.NET Framework 4.6 and 4.5

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.

ExceptionCondition
ArgumentNullException

geometryValue

ArgumentException

geometryValue

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft