WindowPane.IVsWindowPane.TranslateAccelerator Method
Handles the translation of navigation keys.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Private Function TranslateAccelerator ( _
msg As MSG() _
) As Integer Implements IVsWindowPane.TranslateAccelerator
'Usage
Dim instance As WindowPane
Dim msg As MSG()
Dim returnValue As Integer
returnValue = CType(instance, IVsWindowPane).TranslateAccelerator(msg)
int IVsWindowPane.TranslateAccelerator(
MSG[] msg
)
private:
virtual int TranslateAccelerator(
array<MSG>^ msg
) sealed = IVsWindowPane::TranslateAccelerator
private abstract TranslateAccelerator :
msg:MSG[] -> int
private override TranslateAccelerator :
msg:MSG[] -> int
JScript does not support explicit interface implementations.
Parameters
- msg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
An array of MSG structures that contain the character or character combination to be translated.
Return Value
Type: System.Int32
If this method succeeds, it returns S_OK(); if it fails, it returns E_FAIL().
Implements
IVsWindowPane.TranslateAccelerator(array<MSG[])
Remarks
This method calls PreProcessMessage.
.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.