AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual void MgPropertyCollection::SetItem ( INT32  index,
MgProperty value 
) [virtual]

Sets the item in the collection at the specified index to the specified value.

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

Parameters:
index (int) Input index
value (MgProperty) Input value
Returns:
Returns nothing.
Exceptions:
MgIndexOutOfRangeException if the index is out of range.
MgDuplicateObjectException if it is a duplicate.