IWebMatrixHost.WebSiteChanged Event

Applies to v2.

Occurs when the current web site changes.

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

Syntax

'Declaration
Event WebSiteChanged As EventHandler(Of EventArgs)
'Usage
Dim instance As IWebMatrixHost 
Dim handler As EventHandler(Of EventArgs)

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

See Also

Reference

IWebMatrixHost Interface

Microsoft.WebMatrix.Extensibility Namespace