Populates an array with references to all exterior rings. This method does not marshall correctly out-of-proc. Use QueryExteriorRingsEx on the IPolygon2 interface instead.
[Visual Basic .NET] Public Sub QueryExteriorRings ( _ ByRef exteriorRings As IRing _ )
[C#] public void QueryExteriorRings ( ref IRing exteriorRings );
[C++]
HRESULT QueryExteriorRings(
IRing** exteriorRings
);
[C++]Parameters
exteriorRingsexteriorRings is a parameter of type IRing
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Returns an array of IRings containing all of the Exterior Rings in the Polygon. Whenever possible, IPolygon2::QueryExteriorRingsEx should be used instead to ensure proper functionality and better control of the returned array.
Remarks
Note : That method only accepts an array of type IRing for exteriorRings. Using an array of IRing2 won't work.
[C#]
Does not work in .NET. Use IPolygon4.ExteriorRingBag instead.