Поделиться через


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

'Декларация
<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

Return Value

Type: System.Boolean
true if processed

.NET Framework Security

See Also

Reference

DialogBase Class

Microsoft.VisualStudio.Modeling.Integration.Shell Namespace