HtmlWriterWriteMarkupText(Char, Int32, Int32) Method

Write a buffer containing HTML markup directly to the output, without escaping special characters.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void WriteMarkupText(
	char[] buffer,
	int index,
	int count
)

Parameters

buffer  Char
The buffer containing HTML markup.
index  Int32
The index of the first character to write.
count  Int32
The number of characters to write.

Remarks

Writes a buffer containing HTML markup directly to the output, without 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