ArcGIS Enterprise SDK
IPolygon2.QueryInteriorRingsEx Method
ArcGIS Developer Help

IPolygon2.QueryInteriorRingsEx Method

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 _
public void QueryInteriorRingsEx (
    IRing exteriorRing,
    int numInteriorRingsRequested,
    ref IRing interiorRings


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.

IPolygon2 QueryInteriorRingsEx Example


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

See Also

IPolygon2 Interface