HttpUtilityHtmlAttributeEncode(String, TextWriter) Method |
Minimally converts a string into an HTML-encoded string and sends the encoded string to a TextWriter output stream.
Namespace: Crestron.SimplSharp.NetAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static void HtmlAttributeEncode(
string str,
TextWriter output
)
Parameters
- str String
- The string to encode
- output TextWriter
- A TextWriter output stream.
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