AddIn.Shutdown Event

Definition

Occurs when the add-in is about to be unloaded.

public:
 event EventHandler ^ Shutdown;
event EventHandler Shutdown;
member this.Shutdown : EventHandler 
Event Shutdown As EventHandler 

Event Type

Remarks

Use the default Shutdown event handler in the ThisAddIn class, instead of creating your own event handler for this event. The default Shutdown event handler is named ThisAddIn_Shutdown.

For more information, see Events in Office Projects. For more information about the ThisAddIn class, see Programming VSTO Add-Ins.

Applies to