WriteScriptEncode Method
The WriteScriptEncode method of the SPEncode class encodes a string for use in script and writes the string to the HTTP output content stream.
Parameters
response The System.HttpResponse object for the current HTTP request.
str The string to encode.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security