MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
INT32 MgFeatureCommandCollection::IndexOf ( const MgFeatureCommand command) const

Returns the index of the specified command in the collection or -1 if the command does not exist.

.NET Syntax
int IndexOf(const MgFeatureCommand command) const;
Java Syntax
int IndexOf(const MgFeatureCommand command) const;
PHP Syntax
int IndexOf(const MgFeatureCommand command) const;
Parameters:
command(MgFeatureCommand) Input command
Returns:
Returns the index of the specified command in the collection or -1 if the command does not exist