ToolStripManager.IsShortcutDefined(Keys) メソッド

定義

指定されたショートカット キーがフォームの ToolStrip コントロールのいずれかで使用されるかどうかを示す値を取得します。

public:
 static bool IsShortcutDefined(System::Windows::Forms::Keys shortcut);
public static bool IsShortcutDefined (System.Windows.Forms.Keys shortcut);
static member IsShortcutDefined : System.Windows.Forms.Keys -> bool
Public Shared Function IsShortcutDefined (shortcut As Keys) As Boolean

パラメーター

shortcut
Keys

検索するショートカット キー。

戻り値

Boolean

ショートカット キーがフォームの ToolStrip で使用される場合は true。それ以外の場合は false

適用対象

こちらもご覧ください