MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgPolygon* MgPolygonCollection::GetItem ( INT32  index) const [virtual]

Gets the polygon in the collection at the specified index. Throws an invalid argument exception if the index is out of range.

.NET Syntax
virtual MgPolygon GetItem(int index) const;
Java Syntax
virtual MgPolygon GetItem(int index) const;
PHP Syntax
virtual MgPolygon GetItem(int index) const;
Parameters:
index(int) Index of the polygon to retrieve.
Returns:
Returns the polygon in the collection at the specified index.
Exceptions:
MgIndexOutOfRangeException