Partilhar via


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

IDisposable.Dispose()

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

See Also

Reference

AddInBase Class

Microsoft.Office.Tools Namespace