Text PreviewerGet Preview Text(Stream, String) Method
Get a text preview of a stream of text in the specified charset.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
A string representing a shortened preview of the original text.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public virtual string GetPreviewText(
Stream stream,
string charset
)Parameters
Return Value
StringA string representing a shortened preview of the original text.
Remarks
Get a text preview of a stream of text in the specified charset.
Exceptions
| ArgumentNullException |
stream is . -or- charset is . |