This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolygon2 Interface > IPolygon2.QueryExteriorRingsEx Method (ArcObjects .NET 10.4 SDK) |
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 _ )
[C#] public void QueryExteriorRingsEx ( int numExteriorRingsRequested, ref IRing exteriorRings );
[C++]
HRESULT QueryExteriorRingsEx(
long numExteriorRingsRequested,
IRing** exteriorRings
);
[C++]
Parameters numExteriorRingsRequested numExteriorRingsRequested is a parameter of type long exteriorRings [out]
exteriorRings is a parameter of type IRing
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.
Does not work in .NET. Use IPolygon4.ExteriorRingBag instead.