ImapBodyStructureDisposition Property
Gets the disposition (attachment or inline) of the MIME part.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public string Disposition { get; }

Property Value

Type: String
The string containing "Content-Disposition" header value, or a null reference (Nothing in Visual Basic) if the part does not have "Content-Disposition" header set.

Examples: "attachment", "INLINE".

If this header is missing, the application should assume "inline" by default.

Note Note
If the entire "Content-Disposition" message header contains some additional parameters (such as "filename"), the developer can examine DispositionParams list to obtain the parameter names and values.
See Also