DocumentEventsClass::DocumentClosing Event
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Occurs just before a document is closed.
Assembly: EnvDTE (in EnvDTE.dll)
public: event _dispDocumentEvents_DocumentClosingEventHandler^ DocumentClosing { virtual void add(_dispDocumentEvents_DocumentClosingEventHandler^ value); virtual void remove(_dispDocumentEvents_DocumentClosingEventHandler^ value); }
Public Sub DocumentEvents_DocumentClosing(ByVal Document As _ EnvDTE.Document) Handles DocumentEvents.DocumentClosing MsgBox("test") End Sub
Show: