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
[C#]
public int get_InteriorRingCount (
    IRing exteriorRing
);
[C++]
HRESULT get_InteriorRingCount(
  IRing* exteriorRing,
  System.Int32* cInteriorRings
);
[C++]
Parameters
exteriorRing 

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.

Description

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

Remarks

 

IPolygon InteriorRingCount Example

[C#]

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

See Also

IPolygon Interface