DocumentEventsClass::DocumentClosing Event

 

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

Occurs just before a document is closed.

Namespace:   EnvDTE
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
Return to top
Show: