IWebMatrixHost.WebSiteChanged イベント
v2 に適用されます。
現在の Web サイトが変更したときに発生します。
名前空間: 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.