Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
Contains
GetCount
GetItem
GetItem
IndexOf
IndexOf
Insert
MgMapPlotCollection
Remove
RemoveAt
SetItem
INT32 MgMapPlotCollection::IndexOf | ( | CREFSTRING | name | ) |
Gets the index of the specified MapPlot in the collection. .NET Syntax
`int IndexOf(string name);`
Java Syntax
`int IndexOf(String name);`
PHP Syntax
`int IndexOf(string name);`
  Parameters:
  | name | (String/string) Name of the MapPlot 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.