AddIn.OnShutdown Method (2003 System)

This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Overridable Sub OnShutdown
'Usage
Dim instance As AddIn

instance.OnShutdown()
public virtual void 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 Visual Studio Tools for Office Project Events. For more information about the ThisAddIn class, see Getting Started Programming Application-Level Add-Ins.

Permissions

See Also

Reference

AddIn Class

AddIn Members

Microsoft.Office.Tools Namespace