DialogBase.ProcessDialogKey Method
Verifies whether keys (such as TAB, ESCAPE, and RETURN) should be processed for the dialog box.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Overrides Function ProcessDialogKey ( _
keyData As Keys _
) As Boolean
protected override bool ProcessDialogKey(
Keys keyData
)
protected:
virtual bool ProcessDialogKey(
Keys keyData
) override
abstract ProcessDialogKey :
keyData:Keys -> bool
override ProcessDialogKey :
keyData:Keys -> bool
protected override function ProcessDialogKey(
keyData : Keys
) : boolean
Parameters
keyData
Type: System.Windows.Forms.KeysThe Keys to process.
Return Value
Type: System.Boolean
true if the key should be processed; otherwise, false.
Remarks
This method makes sure that only critical exceptions are exposed to the base class. Any exceptions that reach the base class open the WinForms Unhandled Exception dialog box.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.