SPHttpUtility.EcmaScriptStringLiteralEncode method

Returns an encoded version of the specified JavaScript.

Overload list

  Name Description
Public methodStatic member EcmaScriptStringLiteralEncode(String) Returns an encoded version of the specified JavaScript.
Public methodStatic member EcmaScriptStringLiteralEncode(String, TextWriter) Returns an encoded version of the specified JavaScript and appends it to the specified output stream.

Top

See also

Reference

SPHttpUtility class

SPHttpUtility members

Microsoft.SharePoint.Utilities namespace