IEditor.GotFocus 事件
適用於版本2
在焦點變更為編輯器時發生。如果已處置編輯器,則不會再引發其他事件。
命名空間: Microsoft.WebMatrix.Extensibility.Editor
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Event GotFocus As EventHandler
'用途
Dim instance As IEditor
Dim handler As EventHandler
AddHandler instance.GotFocus, handler
event EventHandler GotFocus
event EventHandler^ GotFocus {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
abstract GotFocus : IEvent<EventHandler,
EventArgs>
JScript supports the use of events, but not the declaration of new ones.