Mime ContentDispose Method
Release all resources used by the MimeContent object.
Definition
Namespace: MimeKit
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 MimeContent. The
Dispose method leaves the MimeContent in an unusable state. After
calling Dispose, you must release all references to the MimeContent so
the garbage collector can reclaim the memory that the MimeContent was occupying.