AddInBase.OnShutdown Method
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.
protected:
virtual void OnShutdown();
protected virtual void OnShutdown ();
abstract member OnShutdown : unit -> unit
override this.OnShutdown : unit -> unit
Protected Overridable Sub OnShutdown ()
Remarks
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.