Evento IDialogContent.CloseDialog
Lo siguiente se aplica a v2.
Se produce cuando debe cerrarse el cuadro de diálogo.
Espacio de nombres: Microsoft.WebMatrix.Extensibility
Ensamblado: Microsoft.WebMatrix.Extensibility (en Microsoft.WebMatrix.Extensibility.dll)
Sintaxis
'Declaración
Event CloseDialog As EventHandler(Of EventArgs)
'Uso
Dim instance As IDialogContent
Dim handler As EventHandler(Of EventArgs)
AddHandler instance.CloseDialog, handler
event EventHandler<EventArgs> CloseDialog
event EventHandler<EventArgs^>^ CloseDialog {
void add (EventHandler<EventArgs^>^ value);
void remove (EventHandler<EventArgs^>^ value);
}
abstract CloseDialog : IEvent<EventHandler<EventArgs>,
EventArgs>
JScript supports the use of events, but not the declaration of new ones.