ToolStrip.IsInputKey(Keys) 方法

定義

判斷指定的按鍵是標準輸入按鍵或需要前置處理的特殊按鍵。Determines whether the specified key is a regular input key or a special key that requires preprocessing.

protected:
 override bool IsInputKey(System::Windows::Forms::Keys keyData);
protected override bool IsInputKey (System.Windows.Forms.Keys keyData);
override this.IsInputKey : System.Windows.Forms.Keys -> bool
Protected Overrides Function IsInputKey (keyData As Keys) As Boolean

參數

keyData
Keys

其中一個 Keys 值。One of the Keys values.

傳回

Boolean

如果指定的按鍵是標準輸入按鍵,則為 true,否則為 falsetrue if the specified key is a regular input key; otherwise, false.

適用於