MailKit Documentation
MailKit Documentation
API Reference
MimeKit
TextPart Class
TextPart Properties
Format Property
IsEnriched Property
IsFlowed Property
IsHtml Property
IsPlain Property
IsRichText Property
Text Property
Text
Part
Is
Plain Property
Get whether this text part contains plain text.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
Copy
public
bool
IsPlain
{
get
; }
Property Value
Boolean
if the text is html; otherwise,
.
Implements
ITextPart
IsPlain
Exceptions
Exception
Condition
ObjectDisposedException
The
TextPart
has been disposed.
Remarks
Checks whether the text part's Content-Type is
text/plain
.
See Also
Reference
TextPart Class
MimeKit Namespace
Copyright © 2013-2025 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast