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


ICommandPool2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICommandPool2 Interface
ArcGIS Developer Help

ICommandPool2 Interface

Provides access to the contents of the command pool.

Product Availability

Available with ArcGIS Engine.

Members

Name 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.

Classes that implement ICommandPool2

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

.NET Samples

Feature editing with the control commands Dynamic biking Dynamic biking