MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual INT32 MgPropertyCollection::IndexOf ( const MgProperty value) const [virtual]

Returns the index of the specified item in the collection or -1 if the item does not exist.

.NET Syntax
virtual int IndexOf(const MgProperty value) const;
Java Syntax
virtual int IndexOf(const MgProperty value) const;
PHP Syntax
virtual int IndexOf(const MgProperty value) const;
Parameters:
value(MgProperty) Input value
Returns:
Returns the index of the specified item in the collection or -1 if the item does not exist.