TextBox.IsInputKey(Keys) 方法

定义

确定指定的键是输入键还是需要预处理的特殊键。

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

键的一个值。

返回

Boolean

如果指定的键是输入键,则为 true;否则为 false

注解

The IsInputKey method returns true when keyData includes the Return value and the AcceptsReturn property is true.

适用于