Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
Contains
GetCount
GetItem
GetItem
IndexOf
IndexOf
Insert
MgMapCollection
Remove
RemoveAt
SetItem
void MgMapCollection::Insert | ( | INT32 | index,
|  | MgMapBase * | value |
| ) |  |  |
Inserts a map at a specified index within the collection. Remarks: Maps following the insertion point are moved down to accommodate the new map. .NET Syntax
`void Insert(int index, MgMapBase value);`
Java Syntax
`void Insert(int index, MgMapBase value);`
PHP Syntax
`void Insert(int index, MgMapBase value);`
  Parameters:
  | index | (int) Position in the collection to insert the MgMapBase.
  | value | (MgMapBase) MgMapBase to be inserted in the collection.
  Returns: Returns nothing. Exceptions:
  | MgOutOfRangeException | if the specified index is out of range.

Comments or suggestions? Send us feedback.