DocumentEventsClass.DocumentClosing Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs just before a document is closed.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual event EnvDTE::_dispDocumentEvents_DocumentClosingEventHandler ^ DocumentClosing;
public:
virtual event EnvDTE::_dispDocumentEvents_DocumentClosingEventHandler ^ DocumentClosing;
public virtual event EnvDTE._dispDocumentEvents_DocumentClosingEventHandler DocumentClosing;
member this.DocumentClosing : EnvDTE._dispDocumentEvents_DocumentClosingEventHandler
Public Overridable Custom Event DocumentClosing As _dispDocumentEvents_DocumentClosingEventHandler Implements DocumentClosing
Event Type
Implements
Examples
Public Sub DocumentEvents_DocumentClosing(ByVal Document As _
EnvDTE.Document) Handles DocumentEvents.DocumentClosing
MsgBox("test")
End Sub