ArcObjects Library Reference (Controls)  

ICommandPool2 Interface

Provides access to the contents of the command pool.

Product Availability

Available with ArcGIS Engine.

Members

Description
Read-only property Command The command at the given index.
Read-only property Count The number of commands in the command pool.
Method Created Indicates if the commands OnCreate method has been called.
Method Exists Indicates if the given command exists in the command pool.
Method FindByUID Searches the command pool for the given UID. Returns matching command if the UID is found or nothing.
Method TranslateAcceleratorKey Translates the specified keyCode, if a corresponding accelerator exists.
Read-only property UID The UID of the given command. May return nothing.
Read-only property UsageCount The number of items using the given command.

Inherited Interfaces

Interfaces Description
ICommandPool Provides access to the contents of the command pool.

CoClasses that implement ICommandPool2

CoClasses and Classes Description
CommandPool A collection of commands used by the ToolbarControl.