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
- pMsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
The message.
Return Value
Type: System.Int32
true if the message is consumed, false otherwise.
Implements
IOleComponent.FPreTranslateMessage(array<MSG[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.