Click or drag to resize
MimeKit

TextPreviewerGetPreviewText(TextPart) Method

Get a text preview of the text part.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static string GetPreviewText(
	TextPart body
)

Parameters

body  TextPart
The text part.

Return Value

String
A string representing a shortened preview of the original text.
Exceptions
ExceptionCondition
ArgumentNullExceptionbody is null.
Remarks
Gets a text preview of the text part.
See Also