共用方式為


CommonMessagePump.IOleComponent.FPreTranslateMessage Method

Processes the message before it is translated and dispatched.

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

Syntax

'宣告
Private Function FPreTranslateMessage ( _
    pMsg As MSG() _
) As Integer Implements IOleComponent.FPreTranslateMessage
int IOleComponent.FPreTranslateMessage(
    MSG[] pMsg
)

Parameters

Return Value

Type: System.Int32
true if the message is consumed, false otherwise.

Implements

IOleComponent.FPreTranslateMessage(array<MSG[])

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace