Web API Reference MapGuide Open Source
virtual void MgCurvePolygonCollection::SetItem ( INT32  index,
MgCurvePolygon value 
) [virtual]

Sets the curve polygon 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, MgCurvePolygon value);
Java Syntax
virtual void SetItem(int index, MgCurvePolygon value);
PHP Syntax
virtual void SetItem(int index, MgCurvePolygon value);

Parameters:
index (int) Index of the coordinate to set.
value (MgCurvePolygon) curve polygon to place into the collection.
Exceptions:
MgIndexOutOfRangeException 


Comments or suggestions? Send us feedback.