共用方式為


IFileTableService.EditorOpened 事件

適用於版本2

發生在開啟編輯器時。

命名空間:  Microsoft.WebMatrix.Extensibility.Editor
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
Event EditorOpened As EventHandler(Of EditorEventArgs)
'用途
Dim instance As IFileTableService 
Dim handler As EventHandler(Of EditorEventArgs)

AddHandler instance.EditorOpened, handler
event EventHandler<EditorEventArgs> EditorOpened
event EventHandler<EditorEventArgs^>^ EditorOpened {
    void add (EventHandler<EditorEventArgs^>^ value);
    void remove (EventHandler<EditorEventArgs^>^ value);
}
abstract EditorOpened : IEvent<EventHandler<EditorEventArgs>,
    EditorEventArgs>
JScript supports the use of events, but not the declaration of new ones.

請參閱

參考

IFileTableService 介面

Microsoft.WebMatrix.Extensibility.Editor 命名空間