Click or drag to resize

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.Net
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static void HtmlAttributeEncode(
	string str,
	TextWriter output
)

Parameters

str  String
The string to encode
output  TextWriter
A TextWriter output stream.
Remarks
The 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