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

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
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.
Remarks

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