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