AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual INT32 MgCurvePolygonCollection::IndexOf ( const MgCurvePolygon value  )  const [virtual]

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

.NET Syntax
virtual int IndexOf(const MgCurvePolygon value) const;
Java Syntax
virtual int IndexOf(const MgCurvePolygon value) const;
PHP Syntax
virtual int IndexOf(const MgCurvePolygon value) const;

Parameters:
value (MgCurvePolygon) curve polygon reference to find the index of.
Returns:
The index of the specified curve polygon in the collection or -1 if the curve polygon does not exist.