Click or drag to resize
MimeKit

TextPreviewerGetPreviewText(TextReader) Method

Get a text preview of a stream of text.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public abstract string GetPreviewText(
	TextReader reader
)

Parameters

reader  TextReader
The original text stream.

Return Value

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