Freigeben über


AddIn.Shutdown Event

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

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

Syntax

'Declaration
Event Shutdown As EventHandler
event EventHandler Shutdown

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 Events in Office Projects. For more information about the ThisAddIn class, see Programming Application-Level Add-Ins.

.NET Framework Security

See Also

Reference

AddIn Interface

Microsoft.Office.Tools Namespace