Evento IWebMatrixHost.WorkspaceChanged
Lo siguiente se aplica a v2.
Se produce cuando cambia el espacio de trabajo actual.
Espacio de nombres: Microsoft.WebMatrix.Extensibility
Ensamblado: Microsoft.WebMatrix.Extensibility (en Microsoft.WebMatrix.Extensibility.dll)
Sintaxis
'Declaración
Event WorkspaceChanged As EventHandler(Of WorkspaceChangedEventArgs)
'Uso
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.