Click or drag to resize
MimeKit

TextPartIsPlain Property

Gets whether or not this text part contains plain text.

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

Property Value

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