MimePartDescription Property |
Gets the content description of the MIME part as a string.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string Description { get; }
Public ReadOnly Property Description As String
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 Examples This sample loads the message from file and displays the description of the root MIME part of the message.
using MailBee;
using MailBee.Mime;
MailMessage msg = new MailMessage();
msg.LoadMessage(@"C:\Docs\TestMail.eml");
Console.WriteLine(msg.MimePartTree.Description);
Imports MailBee
Imports MailBee.Mime
Dim msg As New MailMessage
msg.LoadMessage("C:\Docs\TestMail.eml")
Console.WriteLine(msg.MimePartTree.Description)
See Also