Web API Reference MapGuide Open Source
virtual void MgPropertyCollection::Insert ( INT32  index,
MgProperty 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, MgProperty value);
Java Syntax
virtual void Insert(int index, MgProperty value);
PHP Syntax
virtual void Insert(int index, MgProperty value);

Parameters:
index (int) Input index
value (MgProperty) Input value
Returns:
Returns nothing.
Exceptions:
MgIndexOutOfRangeException if the index is out of range.
MgDuplicateObjectException if it is a duplicate.


Comments or suggestions? Send us feedback.