Web API Reference MapGuide Open Source
MgMapPlot* MgMapPlotCollection::GetItem ( CREFSTRING  name  ) 

Gets the MapPlot with the specified name.

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

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


Comments or suggestions? Send us feedback.