共用方式為


WindowPane.IVsUIElementPane.TranslateUIElementAccelerator Method

Handles keyboard accelerators before the shell processes the message.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Private Function TranslateUIElementAccelerator ( _
    msg As MSG() _
) As Integer Implements IVsUIElementPane.TranslateUIElementAccelerator
int IVsUIElementPane.TranslateUIElementAccelerator(
    MSG[] msg
)

Parameters

Return Value

Type: System.Int32
If PreProcessMessage returns true, returns S_OK, otherwise returns E_FAIL.

Implements

IVsUIElementPane.TranslateUIElementAccelerator(array<MSG[])

.NET Framework Security

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace