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