Click or drag to resize
MimeKit

TextPartIsPlain Property

Get whether or not this text part contains plain text.

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

Property Value

Boolean
true if the text is html; otherwise, false.

Implements

ITextPartIsPlain
Exceptions
ExceptionCondition
ObjectDisposedException The TextPart has been disposed.
Remarks
Checks whether or not the text part's Content-Type is text/plain.
See Also