Shutdown Event
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

AddIn.Shutdown Event

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

Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in

public event EventHandler Shutdown

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 Visual Studio Tools for Office Events. For more information about the ThisAddIn class, see Getting Started Programming Application-Level Add-ins.

© 2015 Microsoft