Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
Contains
GetCount
GetItem
GetItem
IndexOf
IndexOf
Insert
MgMapCollection
Remove
RemoveAt
SetItem
INT32 MgMapCollection::IndexOf | ( | MgMapBase * | value | ) |
Gets the index of the specified map in the collection. .NET Syntax
`int IndexOf(MgMapBase value);`
Java Syntax
`int IndexOf(MgMapBase value);`
PHP Syntax
`int IndexOf(MgMapBase value);`
  Parameters:
  | value | (MgMapBase) Value of the item to get the index of.
Returns: Returns the map's index if the collection contains the specified map, or false (-1) otherwise.

Comments or suggestions? Send us feedback.