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.

請參閱

參考

IEditorTaskPanelService 介面

Microsoft.WebMatrix.Extensibility.Editor 命名空間