Compartir a través de


WindowEventsClass.WindowClosing (Evento)

Esta API es compatible con la infraestructura de .NET Framework y no está diseñada para utilizarse directamente desde el código.

Se produce inmediatamente antes de cerrarse una ventana.

Espacio de nombres:  EnvDTE
Ensamblado:  EnvDTE (en EnvDTE.dll)

Sintaxis

'Declaración
Public Overridable Event WindowClosing As _dispWindowEvents_WindowClosingEventHandler
public virtual event _dispWindowEvents_WindowClosingEventHandler WindowClosing
public:
virtual   event _dispWindowEvents_WindowClosingEventHandler^ WindowClosing {
    void add (_dispWindowEvents_WindowClosingEventHandler^ value);
    void remove (_dispWindowEvents_WindowClosingEventHandler^ value);
}
abstract WindowClosing : IEvent<_dispWindowEvents_WindowClosingEventHandler,
    EventArgs>
override WindowClosing : IEvent<_dispWindowEvents_WindowClosingEventHandler,
    EventArgs>
JScript no admite eventos.

Implementaciones

_dispWindowEvents_Event.WindowClosing

Ejemplos

Public Sub WindowEvents_WindowClosing(ByVal Window As EnvDTE.Window) Handles WindowEvents.WindowClosing
   MsgBox("test")
End Sub

Seguridad de .NET Framework

Vea también

Referencia

WindowEventsClass Clase

EnvDTE (Espacio de nombres)