AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual void MgCurveSegmentCollection::SetItem ( INT32  index,
MgCurveSegment value 
) [virtual]

Sets the curve segment in the collection at the specified index to the specified value. Throws an invalid argument exception if the index is out of range.

.NET Syntax
virtual void SetItem(int index, MgCurveSegment value);
Java Syntax
virtual void SetItem(int index, MgCurveSegment value);
PHP Syntax
virtual void SetItem(int index, MgCurveSegment value);

Parameters:
index (int) Index of the coordinate to set.
value (MgCurveSegment) Curve segment to place into the collection.
Exceptions:
MgIndexOutOfRangeException