ArcObjects Library Reference (Geometry)  

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,
  long* 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