This documentation is archived and is not being maintained.

AddInBase.OnShutdown Method ()

 

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

Namespace:   Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

protected virtual void OnShutdown()

To run code just before the add-in is unloaded, add code to the ThisAddIn_Shutdown method in the ThisAddIn class. This method is a default event handler for the Shutdown event. For more information, see Events in Office Projects. For more information about the ThisAddIn class, see Programming VSTO Add-Ins.

Return to top
Show: