Export (0) Print
Expand All

HttpUtility.JavaScriptStringEncode Method (String)

.NET Framework 4.6 and 4.5

Encodes a string.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public static string JavaScriptStringEncode(
	string value
)

Parameters

value
Type: System.String

A string to encode.

Return Value

Type: System.String
An encoded string.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft