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


IAcceleratorTable.FindByKey Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IA > IAcceleratorTable Interface > IAcceleratorTable.FindByKey Method
ArcGIS Developer Help

IAcceleratorTable.FindByKey Method

Finds the accelerator object associated with the specified key combination.

[Visual Basic .NET]
Public Function FindByKey ( _
    ByVal Key As Integer, _
    [ByVal bCtrl As Boolean], _
    [ByVal bAlt As Boolean], _
    [ByVal bShift As Boolean] _
) As IAccelerator
[C#]
public IAccelerator FindByKey (
    int Key,
    bool bCtrl,
    bool bAlt,
    bool bShift
);

Product Availability

Available with ArcGIS Desktop.

Description


Key The keycode used for this accelerator.


bCtrl True if the Ctrl key is one of the keys used in the accelerator; otherwise False.


bAlt True if the Alt key is one of the keys used in the accelerator; otherwise False.


bShift True if the Shift key is one of the keys used in the accelerator; otherwise False.

See Also

IAcceleratorTable Interface | IAccelerator Interface