HtmlWriterWriteText(Char, Int32, Int32) Method

Write text to the output stream, escaping special characters.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
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.

Remarks

Writes text to the output stream, escaping special characters.

Exceptions

ArgumentNullException buffer 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.

See Also