public static Hotkey Hotkeys.Register(string name, Keys key, ModifierKeys modifierKeys, Action<Hotkey> callback)
Calls Register on Hotkeys with name, key, modifierKeys, callback and returns Hotkey. Open the return contract below before using the result.
HotkeyProvides hotkey data and the operations listed below. Related types link to the values this API consumes or returns.
Parameters
name- Parameter type:
stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies name.
key- Parameter type:
KeysNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies key.
modifierKeys- Parameter type:
ModifierKeysSpecifies modifier keys.
callback- Parameter type:
Action<Hotkey>Specifies callback.
Returns: The Hotkey result.