Partager via


OleComponent.PreTranslateMessage Event

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Event PreTranslateMessage As EventHandler(Of PreTranslateMessageEventArgs)
'Utilisation
Dim instance As OleComponent
Dim handler As EventHandler(Of PreTranslateMessageEventArgs)

AddHandler instance.PreTranslateMessage, handler
public event EventHandler<PreTranslateMessageEventArgs> PreTranslateMessage
public:
 event EventHandler<PreTranslateMessageEventArgs^>^ PreTranslateMessage {
    void add (EventHandler<PreTranslateMessageEventArgs^>^ value);
    void remove (EventHandler<PreTranslateMessageEventArgs^>^ value);
}
member PreTranslateMessage : IEvent<EventHandler<PreTranslateMessageEventArgs>,
    PreTranslateMessageEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace