Click or drag to resize
MimeKit

TextPreviewerGetPreviewText(String) Method

Get a text preview of a string of text.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public virtual string GetPreviewText(
	string text
)

Parameters

text  String
The original text.

Return Value

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