IVsDocOutlineProvider2.TranslateAccelerator Method

Processes a Windows message related to accelerator keys.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣言
Function TranslateAccelerator ( _
    lpMsg As MSG() _
) As Integer
'使用
Dim instance As IVsDocOutlineProvider2
Dim lpMsg As MSG()
Dim returnValue As Integer

returnValue = instance.TranslateAccelerator(lpMsg)
int TranslateAccelerator(
    MSG[] lpMsg
)
int TranslateAccelerator(
    [InAttribute] array<MSG>^ lpMsg
)
function TranslateAccelerator(
    lpMsg : MSG[]
) : int

Parameters

  • lpMsg
    Type: []

     [in] Pointer to the Windows message to process.

Return Value

Type: System.Int32

When implementing, return S_OK if the message was processed and requires no further translation; otherwise, return S_FALSE if you want the shell to translate the message.

Permissions

See Also

Reference

IVsDocOutlineProvider2 Interface

IVsDocOutlineProvider2 Members

Microsoft.VisualStudio.Shell.Interop Namespace