Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Protected Overridable Sub OnShutdown
protected 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 Events in Office Projects. For more information about the ThisAddIn class, see Programming Application-Level Add-Ins.
.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.