HttpUtilityHtmlAttributeEncode(String) Method |
Minimally converts a string to an HTML-encoded string.
Namespace: Crestron.SimplSharp.NetAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static string HtmlAttributeEncode(
string str
)
Parameters
- str String
- The string to encode
Return Value
StringAn encoded string
RemarksThe HtmlAttributeEncode method converts only quotation marks ("), ampersands, and left angle brackets to equivalent character entities. It is considerably faster than the HtmlEncode method.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also