WindowPane.IVsUIElementPane.TranslateUIElementAccelerator Method
Handles keyboard accelerators before the shell processes the message.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Private Function TranslateUIElementAccelerator ( _
msg As MSG() _
) As Integer Implements IVsUIElementPane.TranslateUIElementAccelerator
int IVsUIElementPane.TranslateUIElementAccelerator(
MSG[] msg
)
Parameters
- msg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
The message.
Return Value
Type: System.Int32
If PreProcessMessage returns true, returns S_OK, otherwise returns E_FAIL.
Implements
IVsUIElementPane.TranslateUIElementAccelerator(array<MSG[])
.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.