Partager via


WriteUrlEncodeWithQuote Method

The WriteUrlEncodeWithQuote method of the SPEncode class encodes the specified string, converting special characters to quoted UTF-8 format, and writes the string in quotation marks to the HTTP output content stream.

Parameters

response   The System.HttpResponse object for the current HTTP request.

str   The string to encode as a URL.

quoteChar   A System.Char object that specifies the character to use for quotation marks.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security