AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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

Sets the map in the collection at the specified index to a specified value.

.NET Syntax
void SetItem(int index, MgMapBase value);
Java Syntax
void SetItem(int index, MgMapBase value);
PHP Syntax
void SetItem(int index, MgMapBase value);

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