Web API Reference MapGuide Open Source
INT32 MgMapPlotCollection::IndexOf ( MgMapPlot value  ) 

Gets the index of the specified MapPlot in the collection.

.NET Syntax
int IndexOf(MgMapPlot value);
Java Syntax
int IndexOf(MgMapPlot value);
PHP Syntax
int IndexOf(MgMapPlot value);

Parameters:
value (MgMapPlot) Value of the item to get the index of.
Returns:
Returns the MapPlot's index if the collection contains the specified MapPlot, or false (-1) otherwise.


Comments or suggestions? Send us feedback.