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.