DbSpatialServices.GetExteriorRing Method (DbGeometry)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: