WorksheetBase.Dispose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases all resources used by the current instance of the WorksheetBase class.
public:
virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()
Implements
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.