HtmlUtilsHtmlDecode(String, Int32, Int32) Method

Decode HTML character data.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static string HtmlDecode(
	string data,
	int startIndex,
	int count
)

Parameters

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.

Return Value

String
The decoded character data.

Remarks

Decodes HTML character data.

Exceptions

ArgumentNullException data is .
ArgumentOutOfRangeException

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

See Also