MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
void MgLayerGroupCollection::Insert ( INT32  index,
MgLayerGroup value 
)

Inserts a layer group at a specified location in the collection.

Remarks:
Layer groups following the insertion point are moved down to accommodate the new layer group.
.NET Syntax
void Insert(int index, MgLayerGroup value);
Java Syntax
void Insert(int index, MgLayerGroup value);
PHP Syntax
void Insert(int index, MgLayerGroup value);
Parameters:
index(int) Position in the collection to insert the layer group.
value(MgLayerGroup) Layer group to be inserted in the collection.
Returns:
Returns nothing.
Exceptions:
MgIndexOutOfRangeExceptionif the specified index is out of range.