This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IA > IAcceleratorTable Interface > IAcceleratorTable.FindByKey Method (ArcObjects .NET 10.4 SDK) |
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 );
Optional Values
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.
IAcceleratorTable Interface | IAccelerator Interface