Click or drag to resize
MimeKit

HtmlWriter(TextWriter, Boolean) Constructor

Initialize a new instance of the HtmlWriter class.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.12.0
Syntax
C#
public HtmlWriter(
	TextWriter output,
	bool leaveOpen = false
)

Parameters

output  TextWriter
The output text writer.
leaveOpen  Boolean  (Optional)
if the output should be left open when this HtmlWriter is disposed; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptionoutput is .
Remarks

Initializes a new instance of the HtmlWriter class using the specified text writer, optionally leaving the text writer open.

See Also