다음을 통해 공유


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

‘선언
Private Function TranslateAccelerator ( _
    msg As MSG() _
) As Integer Implements IVsWindowPane.TranslateAccelerator
‘사용 방법
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

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

See Also

Reference

WindowPane Class

WindowPane Members

Microsoft.VisualStudio.Shell Namespace