Web API Reference MapGuide Open Source
virtual INT32 MgPropertyDefinitionCollection::IndexOf ( const MgPropertyDefinition 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 MgPropertyDefinition value) const;
Java Syntax
virtual int IndexOf(const MgPropertyDefinition value) const;
PHP Syntax
virtual int IndexOf(const MgPropertyDefinition value) const;

Parameters:
value (MgPropertyDefinition) Input value
Returns:
Returns the index of the specified item in the collection or -1 if the item does not exist
Exceptions:
MgInvalidArgumentException 


Comments or suggestions? Send us feedback.