Evento IEditor.ReadOnlyChanging
Lo siguiente se aplica a v2.
Se produce cuando cambia la propiedad ReadOnly.
Espacio de nombres: Microsoft.WebMatrix.Extensibility.Editor
Ensamblado: Microsoft.WebMatrix.Extensibility (en Microsoft.WebMatrix.Extensibility.dll)
Sintaxis
'Declaración
Event ReadOnlyChanging As EventHandler(Of CancelEventArgs)
'Uso
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.