Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
GetCount
GetItem
IndexOf
Insert
MgClassDefinitionCollection
Remove
RemoveAt
SetItem
INT32 MgClassDefinitionCollection::IndexOf | ( | const MgClassDefinition * | value | ) | const
Returns the index of the specified item in the collection or -1 if the item does not exist. .NET Syntax
`int IndexOf(const MgClassDefinition value) const;`
Java Syntax
`int IndexOf(const MgClassDefinition value) const;`
PHP Syntax
`int IndexOf(const MgClassDefinition value) const;`
  Parameters:
  | value | (MgClassDefinition) Input value
Returns: Returns the index of the specified item in the collection or -1 if the item does not exist.

Comments or suggestions? Send us feedback.