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


IExtensionAccelerators.CreateAccelerators Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IExtensionAccelerators Interface > IExtensionAccelerators.CreateAccelerators Method
ArcGIS Developer Help

IExtensionAccelerators.CreateAccelerators Method

Called to create the keyboard accelerators for this extension.

[Visual Basic .NET]
Public Sub CreateAccelerators ( _
)
[C#]
public void CreateAccelerators (
);
[C++]
HRESULT CreateAccelerators(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The CreateAccelerators method creates the accelerators for the extension. This method is called when the accelerator table is created during application startup, when a new document is created, or when a document is opened.

When you use the CreateAccelerators method to assign an accelerator to one of the commands in your extension, you should check to make sure that no other command is currently using the key combination that you want to use.

See Also

IExtensionAccelerators Interface | IAccelerator Interface | IAcceleratorTable Interface