 | TextPreviewerGetPreviewText(Stream, Encoding) Method |
Get a text preview of a stream of text in the specified encoding.
Namespace: MimeKit.TextAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic virtual string GetPreviewText(
Stream stream,
Encoding encoding
)
Parameters
- stream Stream
- The original text stream.
- encoding Encoding
- The encoding of the stream.
Return Value
StringA string representing a shortened preview of the original text.
Exceptions
Remarks
Get a text preview of a stream of text in the specified encoding.
See Also