Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allows the pane to translate keyboard accelerators (hotkeys) before the shell processes the message.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function TranslateUIElementAccelerator ( _
lpmsg As MSG() _
) As Integer
int TranslateUIElementAccelerator(
MSG[] lpmsg
)
int TranslateUIElementAccelerator(
array<MSG>^ lpmsg
)
abstract TranslateUIElementAccelerator :
lpmsg:MSG[] -> int
function TranslateUIElementAccelerator(
lpmsg : MSG[]
) : int
Parameters
- lpmsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
The message.
Return Value
Type: System.Int32
If the element translated the message and no further translation and processing is required, return S_OK. If you want the shell to translate the message, return S_FALSE.
.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.