IWebMatrixHost.WebSiteChanged 事件

适用于版本2

在当前网站发生更改时发生。

命名空间:  Microsoft.WebMatrix.Extensibility
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Event WebSiteChanged As EventHandler(Of EventArgs)
用法
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.

请参阅

参考

IWebMatrixHost 接口

Microsoft.WebMatrix.Extensibility 命名空间