次の方法で共有


IWebMatrixHost.WorkspaceChanged イベント

v2 に適用されます。

現在のワークスペースが変更したときに発生します。

名前空間:  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 名前空間