 | MimeEntityIsAttachment Property |
Gets a value indicating whether this
MimePart is an attachment.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 3.0.0
Syntaxpublic bool IsAttachment { get; set; }
Property Value
Type:
Booleantrue if this
MimePart is an attachment; otherwise,
false.
Exceptions
Remarks
If the Content-Disposition header is set and has a value of
"attachment",
then this property returns
true. Otherwise it is assumed that the
MimePart is not meant to be treated as an attachment.
See Also