PropertyViewer.ProcessDialogKey Method
Processes a ProcessDialogKey method.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
<UIPermissionAttribute(SecurityAction.LinkDemand, Window := UIPermissionWindow.AllWindows)> _
Protected Overrides Function ProcessDialogKey ( _
keyData As Keys _
) As Boolean
'Usage
Dim keyData As Keys
Dim returnValue As Boolean
returnValue = Me.ProcessDialogKey(keyData)
[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
The key data for a [T:System.Windows.Forms.Control.]https://msdn.microsoft.com/en-us/library/system.windows.forms.control.keydown.aspx KeyDown or [T:System.Windows.Forms.Control.]https://msdn.microsoft.com/en-us/library/system.windows.forms.control.keyup.aspx KeyUp event.
Return Value
Type: System.Boolean
One of the Key values that represent the key to process.