Compartir a través de


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

'Declaration
Function TranslateAccelerator ( _
    lpMsg As MSG() _
) As Integer
int TranslateAccelerator(
    MSG[] lpMsg
)
int TranslateAccelerator(
    [InAttribute] array<MSG>^ lpMsg
)
abstract TranslateAccelerator : 
        lpMsg:MSG[] -> int
function TranslateAccelerator(
    lpMsg : MSG[]
) : int

Parameters

Return Value

Type: 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.

.NET Framework Security

See Also

Reference

IVsDocOutlineProvider2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace