Click or drag to resize
MimeKit

IMimeEntityIsAttachment Property

Get a value indicating whether this entity is an attachment.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
bool IsAttachment { get; set; }

Property Value

Boolean
if this entity is an attachment; otherwise, .
Exceptions
ExceptionCondition
ObjectDisposedException The IMimeEntity has been disposed.
Remarks
If the Content-Disposition header is set and has a value of "attachment", then this property returns . Otherwise, it is assumed that the entity is not meant to be treated as an attachment.
See Also