共用方式為


OleComponent.ModalStateChanged Event

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

Syntax

'宣告
Public Event ModalStateChanged As EventHandler(Of StateChangedEventArgs)
'用途
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