MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

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.