Click or drag to resize

HttpUtilityHtmlAttributeEncode(String) Method

Minimally converts a string to an HTML-encoded string.

Namespace: Crestron.SimplSharp.Net
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static string HtmlAttributeEncode(
	string str
)

Parameters

str  String
The string to encode

Return Value

String
An encoded string
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