Click or drag to resize
MimeKit

ITextPartIsPlain Property

Get whether or not this text part contains plain text.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
bool IsPlain { get; }

Property Value

Boolean
true if the text is html; otherwise, false.
Exceptions
ExceptionCondition
ObjectDisposedException The ITextPart has been disposed.
Remarks
Checks whether or not the text part's Content-Type is text/plain.
See Also