This document is archived and information here might be outdated.  Recommended version.


esriCommandTypes Constants (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Constants > E > esriCommandTypes Constants
ArcGIS Developer Help

esriCommandTypes Constants

Command types.

Constant Value Description
esriCmdTypeCommand 0 Built in command.
esriCmdTypeMenu 1 Menu.
esriCmdTypeToolbar 2 Toolbar.
esriCmdTypeMacro 3 Macro Item.
esriCmdTypeUIButtonCtrl 4 UIButtonControl.
esriCmdTypeUIToolCtrl 5 UIToolControl.
esriCmdTypeUIComboBoxCtrl 6 UIComboBoxControl.
esriCmdTypeUIEditBoxCtrl 7 UIEditBoxControl.
esriCmdTypeGPTool 8 Geoprocessing Tools.

Product Availability

Available with ArcGIS Desktop.

Remarks

Use the esriCommandTypes enumeration with the ICommandItem::Type property.

esriCmdTypeCommand            Command item is a built in command.
esriCmdTypeMenu                  Command item is a menu.
esriCmdTypeToolbar               Command item is a toolbar.
esriCmdTypeMacro                 Command item is a macro item.
esriCmdTypeUIButtonCtrl         Command item is a UI button control.
esriCmdTypeUIToolCtrl            Command item is a UI tool control.
esriCmdTypeUIComboBoxCtrl    Command item is a UI combobox control.
esriCmdTypeUIEditBoxCtrl        Command item is a UI editbox control.

See Also

ICommandItem.Type Property