MimeContentDispose Method

Release all resources used by the MimeContent object.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Dispose()

Implements

IDisposableDispose

Remarks

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.

See Also