This document is archived and information here might be outdated.  Recommended version.

IPolygon.ExteriorRingCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolygon Interface > IPolygon.ExteriorRingCount Property
ArcGIS Developer Help

IPolygon.ExteriorRingCount Property

The number of exterior rings.

[Visual Basic .NET]
Public ReadOnly Property ExteriorRingCount As Integer
public int ExteriorRingCount {get;}
HRESULT get_ExteriorRingCount(
  System.Int32* cExteriorRings
cExteriorRings [out, retval]

cExteriorRings is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Returns the number of Exterior Rings that are part of the polygon.  Exterior Rings have a clockwise orientation.



IPolygon ExteriorRingCount Example

See Also

IPolygon Interface