IWebMatrixHost.WorkspaceChanged Event

Applies to v2.

Occurs when the current workspace changes.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Event WorkspaceChanged As EventHandler(Of WorkspaceChangedEventArgs)
'Usage
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.

See Also

Reference

IWebMatrixHost Interface

Microsoft.WebMatrix.Extensibility Namespace