MimePartIsInline Property |
Indicates whether the MIME part is inline.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool IsInline { get; }
Public ReadOnly Property IsInline As Boolean
Get
Property Value
Type:
Booleantrue if the MIME part is inline; otherwise,
false.
Remarks Examples This sample loads the message from .EML file and displays all inline MIME parts of this message.
using MailBee;
using MailBee.Mime;
MailMessage msg = new MailMessage();
msg.LoadMessage(@"C:\Docs\TestMail.eml");
foreach (MimePart part in msg.MimePartTree.GetAllParts())
{
if (part.IsInline)
{
Console.WriteLine("MIME part " + part.Name + " is inline.");
}
}
Imports MailBee
Imports MailBee.Mime
Dim msg As New MailMessage
msg.LoadMessage("C:\Docs\TestMail.eml")
For Each part As MimePart In msg.MimePartTree.GetAllParts()
If part.IsInline Then
Console.WriteLine("MIME part " & part.Name & " is inline.")
End If
Next
See Also