Partager via


OleComponent.ModalStateChanged Event

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

Syntax

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

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

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace