AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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.