This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolygon2 Interface > IPolygon2.QueryInteriorRingsEx Method (ArcObjects .NET 10.5 SDK) |
Returns an array of references to rings that are interior to the specified exterior ring, up to a maximum of the number requested.
[Visual Basic .NET] Public Sub QueryInteriorRingsEx ( _ ByVal exteriorRing As IRing, _ ByVal numInteriorRingsRequested As Integer, _ ByRef interiorRings As IRing _ )
[C#] public void QueryInteriorRingsEx ( IRing exteriorRing, int numInteriorRingsRequested, ref IRing interiorRings );
[C++]
HRESULT QueryInteriorRingsEx(
IRing* exteriorRing,
long numInteriorRingsRequested,
IRing** interiorRings
);
[C++]
Parameters exteriorRing
exteriorRing is a parameter of type IRing numInteriorRingsRequested numInteriorRingsRequested is a parameter of type long interiorRings [out]
interiorRings is a parameter of type IRing
Returns an array of IRings containing up to numInteriorRingsRequested Interior Rings belonging to a specified input Exterior Ring.
Note : That method only accepts an array of type IRing for interiorRings. Using an array of IRing2 won't work.
Does not work in .NET. Use IPolygon4.get_InteriorRingBag instead.