 | HtmlUtilsHtmlAttributeEncode(String, Char) Method |
Encode an HTML attribute value.
Namespace: MimeKit.TextAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic static string HtmlAttributeEncode(
string value,
char quote = '"'
)
Parameters
- value String
- The attribute value to encode.
- 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