Freigeben über


WorkbookBase.Dispose Method

Releases all resources used by the current instance of the WorkbookBase class.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.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 document in a document-level customization is closed, the Visual Studio Tools for Office runtime cleans up all resources used by the customization.

For more information about the Dispose method, see Cleaning Up Unmanaged Resources.

.NET Framework Security

See Also

Reference

WorkbookBase Class

Microsoft.Office.Tools.Excel Namespace