Web API Reference MapGuide Open Source
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.


Comments or suggestions? Send us feedback.