Switcher.ProcessKeyPreview Method
Previews the process key of the control.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Protected Overrides Function ProcessKeyPreview ( _
ByRef m As Message _
) As Boolean
'Usage
Dim m As Message
Dim returnValue As Boolean
returnValue = Me.ProcessKeyPreview(m)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override bool ProcessKeyPreview(
ref Message m
)
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
protected:
virtual bool ProcessKeyPreview(
Message% m
) override
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)>]
abstract ProcessKeyPreview :
m:Message byref -> bool
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)>]
override ProcessKeyPreview :
m:Message byref -> bool
protected override function ProcessKeyPreview(
m : Message
) : boolean
Parameters
- m
Type: System.Windows.Forms.Message%
A [String], passed by reference that represents the value of the control.
Return Value
Type: System.Boolean
The value of ProcessKeyEventArgs.