Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Occurs just before a window closes.
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 does not support events.
Implements
_dispWindowEvents_Event.WindowClosing
Examples
Public Sub WindowEvents_WindowClosing(ByVal Window As EnvDTE.Window) Handles WindowEvents.WindowClosing
MsgBox("test")
End Sub
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.