DialogBase.ProcessDialogKey Method
Process a non-character keystroke. Intercepts most exceptions.
Namespace: Microsoft.VisualStudio.Modeling.Integration.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0.dll)
Syntax
'Déclaration
<UIPermissionAttribute(SecurityAction.LinkDemand, Window := UIPermissionWindow.AllWindows)> _
Protected Overrides Function ProcessDialogKey ( _
keyData As Keys _
) As Boolean
[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)]
protected override bool ProcessDialogKey(
Keys keyData
)
[UIPermissionAttribute(SecurityAction::LinkDemand, Window = UIPermissionWindow::AllWindows)]
protected:
virtual bool ProcessDialogKey(
Keys keyData
) override
[<UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)>]
abstract ProcessDialogKey :
keyData:Keys -> bool
[<UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)>]
override ProcessDialogKey :
keyData:Keys -> bool
protected override function ProcessDialogKey(
keyData : Keys
) : boolean
Parameters
- keyData
Type: System.Windows.Forms.Keys
keystroke
Return Value
Type: System.Boolean
true if processed
.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.