 | HtmlWriter(Stream, Encoding, Boolean) Constructor |
Initialize a new instance of the
HtmlWriter class.
Namespace: MimeKit.TextAssembly: MimeKit (in MimeKit.dll) Version: 4.12.0
Syntaxpublic HtmlWriter(
Stream stream,
Encoding encoding,
bool leaveOpen = false
)
Parameters
- stream Stream
- The output stream.
- encoding Encoding
- The encoding to use for the output.
- leaveOpen Boolean (Optional)
- if the stream should be left open
when this HtmlWriter is disposed; otherwise, .
Exceptions
RemarksInitializes a new instance of the HtmlWriter class for the specified stream
by using the specified encoding and optionally leaves the stream open.
See Also