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

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

.NET Syntax
virtual int IndexOf(const MgLineString value) const;
Java Syntax
virtual int IndexOf(const MgLineString value) const;
PHP Syntax
virtual int IndexOf(const MgLineString value) const;
Parameters:
value(MgLineString) line string reference to find the index of.
Returns:
The index of the specified line string in the collection or -1 if the line string does not exist.