Compartir a través de


WindowEventsClass.WindowClosing Event

Definition

Occurs just before a window closes.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual event EnvDTE::_dispWindowEvents_WindowClosingEventHandler ^ WindowClosing;
public:
 virtual event EnvDTE::_dispWindowEvents_WindowClosingEventHandler ^ WindowClosing;
public virtual event EnvDTE._dispWindowEvents_WindowClosingEventHandler WindowClosing;
member this.WindowClosing : EnvDTE._dispWindowEvents_WindowClosingEventHandler 
Public Overridable Custom Event WindowClosing As _dispWindowEvents_WindowClosingEventHandler Implements WindowClosing

Event Type

Implements

Examples

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

Applies to