JavaScriptEncode Method

Microsoft AntiXSS Library

Collapse imageExpand ImageCopy imageCopyHover image

Overload List

  NameDescription
Public methodStatic memberJavaScriptEncode(String)
Encodes input strings for use in JavaScript.
Public methodStatic memberJavaScriptEncode(String, Boolean)
Encodes input strings for use in JavaScript.

See Also