AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

void MgMapCollection::Insert ( INT32  index,
MgMapBase value 
)

Inserts a map at a specified index within the collection.

Remarks:
Maps following the insertion point are moved down to accommodate the new map.
.NET Syntax
void Insert(int index, MgMapBase value);
Java Syntax
void Insert(int index, MgMapBase value);
PHP Syntax
void Insert(int index, MgMapBase value);

Parameters:
index (int) Position in the collection to insert the MgMapBase.
value (MgMapBase) MgMapBase to be inserted in the collection.
Returns:
Returns nothing.
Exceptions:
MgOutOfRangeException if the specified index is out of range.