WindowPane.IVsUIElementPane.TranslateUIElementAccelerator Method
Handles keyboard accelerators before the shell processes the message.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Private Function TranslateUIElementAccelerator ( _
msg As MSG() _
) As Integer Implements IVsUIElementPane.TranslateUIElementAccelerator
int IVsUIElementPane.TranslateUIElementAccelerator(
MSG[] msg
)
private:
virtual int TranslateUIElementAccelerator(
array<MSG>^ msg
) sealed = IVsUIElementPane::TranslateUIElementAccelerator
private abstract TranslateUIElementAccelerator :
msg:MSG[] -> int
private override TranslateUIElementAccelerator :
msg:MSG[] -> int
JScript does not support explicit interface implementations.
Parameters
msg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]The message.
Return Value
Type: 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.