ToolStripMenuItem.ProcessCmdKey(Message, Keys) ToolStripMenuItem.ProcessCmdKey(Message, Keys) ToolStripMenuItem.ProcessCmdKey(Message, Keys) ToolStripMenuItem.ProcessCmdKey(Message, Keys) Method

定義

コマンド キーを処理します。Processes a command key.

protected public:
 override bool ProcessCmdKey(System::Windows::Forms::Message % m, System::Windows::Forms::Keys keyData);
protected internal override bool ProcessCmdKey (ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData);
override this.ProcessCmdKey :  * System.Windows.Forms.Keys -> bool
Protected Friend Overrides Function ProcessCmdKey (ByRef m As Message, keyData As Keys) As Boolean

パラメーター

m
Message Message Message Message

処理するウィンドウ メッセージを表す、参照渡しされた MessageA Message, passed by reference, which represents the window message to process.

keyData
Keys Keys Keys Keys

処理するキーを表す Keys 値の 1 つ。One of the Keys values that represents the key to process.

戻り値

文字がコントロールによって処理された場合は true。それ以外の場合は falsetrue if the character was processed by the control; otherwise, false.

適用対象