AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

void MgFeatureCommandCollection::SetItem ( INT32  index,
MgFeatureCommand command 
)

Sets the command in the collection at the specified index to the specified command. If there was already command assigned to specified index, it will be overwritten.

.NET Syntax
void SetItem(int index, MgFeatureCommand command);
Java Syntax
void SetItem(int index, MgFeatureCommand command);
PHP Syntax
void SetItem(int index, MgFeatureCommand command);

Parameters:
index (int) Input index
command (MgFeatureCommand) Input command
Returns:
Returns nothing
Exceptions:
MgIndexOutOfRangeException if index is out of range.