MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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:
MgIndexOutOfRangeExceptionif index is out of range.