IEditorTaskPanelService.PageChanged 事件
适用于版本2
在页更改时(通常在从本地切换到远程或更改站点时)触发。在这种情况下,将删除所有选项卡,然后扩展实现程序会重新添加这些选项卡。
命名空间: Microsoft.WebMatrix.Extensibility.Editor
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Event PageChanged As EventHandler
用法
Dim instance As IEditorTaskPanelService
Dim handler As EventHandler
AddHandler instance.PageChanged, handler
event EventHandler PageChanged
event EventHandler^ PageChanged {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
abstract PageChanged : IEvent<EventHandler,
EventArgs>
JScript supports the use of events, but not the declaration of new ones.