Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
Contains
GetCount
GetItem
GetItem
IndexOf
IndexOf
Insert
Remove
RemoveAt
SetItem
void MgLayerGroupCollection::SetItem | ( | INT32 | index,
|  | MgLayerGroup * | value |
| ) |  |  |
Sets the layer group in the collection at the specified index to the specified value. .NET Syntax
`void SetItem(int index, MgLayerGroup value);`
Java Syntax
`void SetItem(int index, MgLayerGroup value);`
PHP Syntax
`void SetItem(int index, MgLayerGroup value);`
  Parameters:
  | index | (int) Position in the collection to set the layer group.
  | value | (MgLayerGroup) MgLayerGroup to be set in the collection.
  Returns: Returns nothing. Exceptions:
  | MgIndexOutOfRangeException | if the specified index is out of range.

Comments or suggestions? Send us feedback.