Shortcut.HotkeyBinder.UnregisterHotkey C# (CSharp) Method

UnregisterHotkey() private method

private UnregisterHotkey ( System.Windows.Forms.Hotkey hotkeyCombo ) : void
hotkeyCombo System.Windows.Forms.Hotkey
return void
        private void UnregisterHotkey(Hotkey hotkeyCombo)
        {
            bool successful =
                NativeMethods.UnregisterHotKey(
                    hotkeyWindow.Handle,
                    hotkeyCombo.GetHashCode());

            if (!successful)
                throw new HotkeyNotBoundException(Marshal.GetLastWin32Error());
        }