Click or drag to resize
MimeKit

MultipartClear(Boolean) Method

Clear a multipart.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public void Clear(
	bool dispose
)

Parameters

dispose  Boolean
true if all of the child entities of the multipart should be disposed; otherwise, false.
Exceptions
ExceptionCondition
ObjectDisposedException The Multipart has been disposed.
Remarks
Removes all of the entities within the multipart, optionally disposing them in the process.
See Also