ArcObjects Library Reference (Framework)  

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
);
[C#]

Optional Values

bCtrl   Supply false as a default value.
bAlt   Supply false as a default value.
bShift   Supply false as a default value.

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