Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
GetCount
GetItem
IndexOf
Insert
MgStringCollection
Remove
RemoveAt
SetItem
virtual void MgStringCollection::Insert | ( | INT32 | index,
|  | CREFSTRING | value |
| ) |  |  | `[virtual]`
Inserts the specified item at the specified index position within the collection. Items following the insertion point are moved down to accommodate the new item. .NET Syntax
`virtual void Insert(int index, string value);`
Java Syntax
`virtual void Insert(int index, String value);`
PHP Syntax
`virtual void Insert(int index, string value);`
  Parameters:
  | index | (int) Input index
  | value | (String/string) Input value
  Returns: Returns nothing. Exceptions:
  | MgIndexOutOfRangeException | if the index is out of range.

Comments or suggestions? Send us feedback.