Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
GetCount
GetItem
IndexOf
Insert
MgFeatureCommandCollection
Remove
RemoveAt
SetItem
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

Comments or suggestions? Send us feedback.