AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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:
MgIndexOutOfRangeException if the specified index is out of range.