AddIn.Shutdown Event (2007 System)
Occurs when the add-in is about to be unloaded.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Event Shutdown As EventHandler
'Usage
Dim instance As AddIn
Dim handler As EventHandler
AddHandler instance.Shutdown, handler
public event EventHandler Shutdown
public:
event EventHandler^ Shutdown {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
JScript does not support events.
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 Visual Studio Tools for Office Project Events. For more information about the ThisAddIn class, see Programming Application-Level Add-Ins and AddIn Host Item.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.