共用方式為


WriteNoEncodeWithQuote(System.Web.HttpResponse, Int32, Char) Method

The WriteNoEncodeWithQuote method of the SPEncode class applies no encoding to the specified integer and writes the integer in quotation marks to the HTTP output content stream.

Parameters

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

number   The 32-bit integer to write but not encode.

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security