Click or drag to resize
MimeKit

HtmlWriterWriteText(Char, Int32, Int32) Method

Write text to the output stream, escaping special characters.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public void WriteText(
	char[] buffer,
	int index,
	int count
)

Parameters

buffer  Char
The text buffer.
index  Int32
The index of the first character to write.
count  Int32
The number of characters to write.
Exceptions
ExceptionCondition
ArgumentNullExceptionbuffer is .
ArgumentOutOfRangeException

index is less than zero or greater than the length of buffer.

-or-

index and count do not specify a valid range in the buffer.

ObjectDisposedException The HtmlWriter has been disposed.
Remarks
Writes text to the output stream, escaping special characters.
See Also