IEditor.DirtyChanged 事件
適用於版本2
發生在 Dirty 屬性的值變更之後。
命名空間: Microsoft.WebMatrix.Extensibility.Editor
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Event DirtyChanged As EventHandler
'用途
Dim instance As IEditor
Dim handler As EventHandler
AddHandler instance.DirtyChanged, handler
event EventHandler DirtyChanged
event EventHandler^ DirtyChanged {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
abstract DirtyChanged : IEvent<EventHandler,
EventArgs>
JScript supports the use of events, but not the declaration of new ones.