AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgLineString* MgLineStringCollection::GetItem ( INT32  index  )  const [virtual]

Gets the line string in the collection at the specified index. Throws an invalid argument exception if the index is out of range.

.NET Syntax
virtual MgLineString GetItem(int index) const;
Java Syntax
virtual MgLineString GetItem(int index) const;
PHP Syntax
virtual MgLineString GetItem(int index) const;

Parameters:
index (int) Index of the line string to retrieve.
Returns:
Returns the line string in the collection at the specified index.
Exceptions:
MgIndexOutOfRangeException