AttachmentCollectionRemove Method

Remove an attachment.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool Remove(
	MimeEntity attachment
)

Parameters

attachment  MimeEntity
The attachment.

Return Value

Boolean
if the attachment was removed; otherwise, .

Implements

ICollectionTRemove(T)

Remarks

Removes the specified attachment.

Exceptions

ArgumentNullException attachment is .

See Also