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