CommonMessagePump.IOleComponent.FPreTranslateMessage Method
Processes the message before it is translated and dispatched.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Private Function FPreTranslateMessage ( _
pMsg As MSG() _
) As Integer Implements IOleComponent.FPreTranslateMessage
int IOleComponent.FPreTranslateMessage(
MSG[] pMsg
)
private:
virtual int FPreTranslateMessage(
array<MSG>^ pMsg
) sealed = IOleComponent::FPreTranslateMessage
private abstract FPreTranslateMessage :
pMsg:MSG[] -> int
private override FPreTranslateMessage :
pMsg:MSG[] -> int
JScript does not support explicit interface implementations.
Parameters
pMsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]The message.
Return Value
Type: 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.