ArcGIS Enterprise SDK
IPolygon2.QueryExteriorRingsEx Method
ArcGIS Developer Help

IPolygon2.QueryExteriorRingsEx Method

Returns an array of references to exterior rings, up to a maximum of the number requested.

[Visual Basic .NET]
Public Sub QueryExteriorRingsEx ( _
    ByVal numExteriorRingsRequested As Integer, _
    ByRef exteriorRings As IRing _
public void QueryExteriorRingsEx (
    int numExteriorRingsRequested,
    ref IRing exteriorRings


Returns an array of IRings containing up to numExteriorRingsRequested of the Exterior Rings in the Polygon.


Note : That method only accepts an array of type IRing for exteriorRings. Using an array of IRing2 won't work.

IPolygon2 QueryExteriorRingsEx Example


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

See Also

IPolygon2 Interface