AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgMapBase* MgMapCollection::GetItem ( CREFSTRING  name  ) 

Gets the map with the specified name.

.NET Syntax
MgMapBase GetItem(string name);
Java Syntax
MgMapBase GetItem(String name);
PHP Syntax
MgMapBase GetItem(string name);

Parameters:
name (String/string) Name of the map to get.
Returns:
Returns the specified MgMapBase object.
Exceptions:
MgInvalidArgumentException if the name does not exist in the collection.