TextPartIsPlain Property

Get whether this text part contains plain text.

Definition

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

Property Value

Boolean
if the text is html; otherwise, .

Implements

ITextPartIsPlain

Remarks

Checks whether the text part's Content-Type is text/plain.

Exceptions

ObjectDisposedException The TextPart has been disposed.

See Also