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

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

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