DataGridView.ProcessEscapeKey(Keys) 方法

定义

处理 Esc 键。Processes the ESC key.

protected:
 bool ProcessEscapeKey(System::Windows::Forms::Keys keyData);
protected bool ProcessEscapeKey (System.Windows.Forms.Keys keyData);
member this.ProcessEscapeKey : System.Windows.Forms.Keys -> bool
Protected Function ProcessEscapeKey (keyData As Keys) As Boolean

参数

keyData
Keys

Keys 值的按位组合,这些值表示要处理的一个或多个键。A bitwise combination of Keys values that represents the key or keys to process.

返回

如果已处理该键,则为 true;否则为 falsetrue if the key was processed; otherwise, false.

安全性

SecurityPermission
用于调用非托管代码。for calling unmanaged code. 需求值: LinkDemandDemand value: LinkDemand. 权限值: UnmanagedCodePermission value: UnmanagedCode

适用于

另请参阅