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 > IPolygon Interface > IPolygon.QueryInteriorRings Method (ArcObjects .NET 10.5 SDK) |
Populates an array with references to rings that are interior to the specified exterior ring. This method does not marshall correctly out-of-proc. Use QueryInteriorRingsEx on the IPolygon2 interface instead.
[Visual Basic .NET] Public Sub QueryInteriorRings ( _ ByVal exteriorRing As IRing, _ ByRef interiorRings As IRing _ )
[C#] public void QueryInteriorRings ( IRing exteriorRing, ref IRing interiorRings );
[C++]
HRESULT QueryInteriorRings(
IRing* exteriorRing,
IRing** interiorRings
);
[C++]
Parameters exteriorRing
exteriorRing is a parameter of type IRing interiorRings
interiorRings is a parameter of type IRing
Returns an array of IRings containing all Interior Rings belonging to a specified input Exterior Ring. Whenever possible, IPolygon2::QueryInteriorRingsEx should be used to ensure proper functionality and better control of the returned array.
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.