AddInBase.Dispose Method
Releases the resources used by the AddInBase.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Public Sub Dispose
public void Dispose()
Implements
Remarks
Do not call the Dispose method yourself. When the add-in is unloaded, the Visual Studio Tools for Office runtime cleans up all resources used by the add-in.
For more information about the Dispose method, see Cleaning Up Unmanaged Resources.
.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.