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

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

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