This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolygon Interface > IPolygon.InteriorRingCount Property (ArcObjects .NET 10.4 SDK) |
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
Returns the number of Interior Rings within the given Exterior Ring. Interior Rings have a counterclockwise orientation.
Does not work in .NET. Use IPolygon4.get_InteriorRingCount instead.