Click or drag to resize
MimeKit

IMultipartAlternativeGetTextBody Method

Get the text body in the specified format.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
string GetTextBody(
	TextFormat format
)

Parameters

format  TextFormat
The desired text format.

Return Value

String
The text body in the desired format if it exists; otherwise, null.
Exceptions
ExceptionCondition
ObjectDisposedException The IMultipartAlternative has been disposed.
Remarks
Gets the text body in the specified format, if it exists.
See Also