MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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:
MgInvalidArgumentExceptionif the name does not exist in the collection.