IMime MessageGet Text Body Method
Get the text body in the specified format.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The text body in the desired format if it exists; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
string? GetTextBody(
TextFormat format
)Parameters
- format TextFormat
- The desired text format.
Return Value
StringThe text body in the desired format if it exists; otherwise, .
Remarks
Gets the text body in the specified format, if it exists.