Partager via


OleComponent.ActivationChange Event

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

Syntax

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

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

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace