Html WriterDispose Method
Release all resource used by the HtmlWriter object.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Dispose()Implements
IDisposableDisposeRemarks
Call Dispose when you are finished using the HtmlWriter. The
Dispose method leaves the HtmlWriter in an unusable state. After calling
Dispose, you must release all references to the HtmlWriter so the garbage
collector can reclaim the memory that the HtmlWriter was occupying.