AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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