| BodyPartBasicIsAttachment Property |
Determines whether or not the body part is an attachment.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax public bool IsAttachment { get; }
Property Value
Booleantrue if this part is an attachment; otherwise,
false.
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