| HtmlUtilsHtmlAttributeEncode(Char, Int32, Int32, Char) Method |
Encode an HTML attribute value.
Namespace: MimeKit.TextAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public static string HtmlAttributeEncode(
char[] value,
int startIndex,
int count,
char quote = '"'
)
Parameters
- value Char
- The attribute value to encode.
- startIndex Int32
- The starting index of the attribute value.
- count Int32
- The number of characters in the attribute value.
- quote Char (Optional)
- The character to use for quoting the attribute value.
Return Value
StringThe encoded attribute value.
Exceptions Remarks
Encodes an HTML attribute value.
See Also