Click or drag to resize
MimeKit

AttachmentCollectionClear(Boolean) Method

Clear the attachment collection.

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

Parameters

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