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.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value, which need not represent a polygon.
Return Value
Type: System.Data.Entity.Spatial.DbGeometryA DbGeometry value representing the exterior ring on geometryValue, if it represents a polygon; otherwise, null.