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

Inserts the specified item at the specified index within the collection. Items following the insertion point are moved down to accommodate the new item.

.NET Syntax
virtual void Insert(int index, int value);
Java Syntax
virtual void Insert(int index, int value);
PHP Syntax
virtual void Insert(int index, int value);
Parameters:
index(int) Input index
value(int) Input value
Returns:
Returns nothing
Exceptions:
MgIndexOutOfRangeExceptionif index is out of range
MgDuplicateObjectExceptionif it is duplicate