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

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

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