Click or drag to resize
MimeKit

AttachmentCollectionClear(Boolean) Method

Clear the attachment collection.

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

Parameters

dispose  Boolean
true if all of the attachments should be disposed; otherwise, false.
Remarks
Removes all attachments from the collection, optionally disposing them in the process.
See Also