MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual void MgLinearRingCollection::SetItem ( INT32  index,
MgLinearRing value 
) [virtual]

Sets the linear ring in the collection at the specified index to the specified value. Throws an invalid argument exception if the index is out of range.

.NET Syntax
virtual void SetItem(int index, MgLinearRing value);
Java Syntax
virtual void SetItem(int index, MgLinearRing value);
PHP Syntax
virtual void SetItem(int index, MgLinearRing value);
Parameters:
index(int) Index of the coordinate to set.
value(MgLinearRing) linear ring to place into the collection.
Exceptions:
MgIndexOutOfRangeException