MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual INT32 MgStringCollection::IndexOf ( CREFSTRING  value) [virtual]

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

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