MimePartDescription Property
Gets the content description of the MIME part as a string.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public string Description { get; }

Property Value

Type: String
A string containing the MIME part's content description taken from Content-Description header, or an empty string if Content-Description header is not set. The default value is an empty string.
Remarks
See Attachment.Description for more information regarding Content-Description.
Examples
This sample loads the message from file and displays the description of the root MIME part of the message.
// To use the code below, import MailBee namespaces at the top of your code.
using MailBee;
using MailBee.Mime;

// The actual code (put it into a method of your class).
MailMessage msg = new MailMessage();
msg.LoadMessage(@"C:\Docs\TestMail.eml");
Console.WriteLine(msg.MimePartTree.Description);
See Also