| BodyPartBasicIsAttachment Property |
Determines whether or not the body part is an attachment.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.10.0
Syntax public bool IsAttachment { get; }
Property Value
Boolean if this part is an attachment; otherwise,
.
Remarks Determines whether or not the body part is an attachment based on the value of
the Content-Disposition.
Note |
---|
Since the value of the Content-Disposition header is needed, it
is necessary to include the BodyStructure flag when
fetching summary information from an IMailFolder. |
See Also