WindowEventsClass.WindowClosing-Ereignis

Diese API unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

Tritt unmittelbar vor dem Schließen eines Fensters ein.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
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 unterstützt keine Ereignisse.

Implementiert

_dispWindowEvents_Event.WindowClosing

Beispiele

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

.NET Framework-Sicherheit

Siehe auch

Referenz

WindowEventsClass Klasse

EnvDTE-Namespace