AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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

Inserts the specified command at the specified index within the collection. Items following the insertion point are moved down to accommodate the new command.

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

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