共用方式為


SPHttpUtility.EcmaScriptStringLiteralEncode Method

Include Protected Members
Include Inherited Members

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