Expand Minimize

DocumentBase.Dispose Method

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

Releases the resources used by the DocumentBase.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public void Dispose()

Implements

IDisposable.Dispose()

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft