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

IPolygon.InteriorRingCount 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.InteriorRingCount Property
ArcGIS Developer Help

IPolygon.InteriorRingCount Property

The number of rings interior to the specified exterior ring.

[Visual Basic .NET]
Public Function get_InteriorRingCount ( _
    ByVal exteriorRing As IRing _
) As Integer
public int get_InteriorRingCount (
    IRing exteriorRing
HRESULT get_InteriorRingCount(
  IRing* exteriorRing,
  System.Int32* cInteriorRings

exteriorRing is a parameter of type IRing* cInteriorRings [out, retval]
cInteriorRings is a parameter of type long*

Product Availability

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


Returns the number of Interior Rings within the given Exterior Ring.  Interior Rings have a counterclockwise orientation.



IPolygon InteriorRingCount Example


Does not work in .NET. Use IPolygon4.get_InteriorRingCount instead.

See Also

IPolygon Interface