IWebMatrixHost.WorkspaceChanged 事件

適用於版本2

在目前工作區變更時發生。

命名空間:  Microsoft.WebMatrix.Extensibility
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
Event WorkspaceChanged As EventHandler(Of WorkspaceChangedEventArgs)
'用途
Dim instance As IWebMatrixHost 
Dim handler As EventHandler(Of WorkspaceChangedEventArgs)

AddHandler instance.WorkspaceChanged, handler
event EventHandler<WorkspaceChangedEventArgs> WorkspaceChanged
event EventHandler<WorkspaceChangedEventArgs^>^ WorkspaceChanged {
    void add (EventHandler<WorkspaceChangedEventArgs^>^ value);
    void remove (EventHandler<WorkspaceChangedEventArgs^>^ value);
}
abstract WorkspaceChanged : IEvent<EventHandler<WorkspaceChangedEventArgs>,
    WorkspaceChangedEventArgs>
JScript supports the use of events, but not the declaration of new ones.

請參閱

參考

IWebMatrixHost 介面

Microsoft.WebMatrix.Extensibility 命名空間