MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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:
MgIndexOutOfRangeExceptionif the specified index is out of range.