Click or drag to resize
MimeKit

HtmlUtilsHtmlDecode(TextWriter, String, Int32, Int32) Method

Decode HTML character data.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static void HtmlDecode(
	TextWriter output,
	string data,
	int startIndex,
	int count
)

Parameters

output  TextWriter
The TextWriter to output the result.
data  String
The character data to decode.
startIndex  Int32
The starting index of the character data.
count  Int32
The number of characters in the data.
Exceptions
ExceptionCondition
ArgumentNullException

output is null.

-or-

data is null.

ArgumentOutOfRangeException

startIndex and count do not specify a valid range in the data.

Remarks
Decodes HTML character data.
See Also