共用方式為


SPEncode.WriteNoEncodeWithQuote method (HttpResponse, Decimal, Char)

套用至指定的十進位值沒有編碼方式,並將值引號括住寫入至 HTTP 輸出內容資料流。

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Sub WriteNoEncodeWithQuote ( _
    response As HttpResponse, _
    number As Decimal, _
    quoteChar As Char _
)
'用途
Dim response As HttpResponse
Dim number As Decimal
Dim quoteChar As CharSPEncode.WriteNoEncodeWithQuote(response, _
    number, quoteChar)
public static void WriteNoEncodeWithQuote(
    HttpResponse response,
    decimal number,
    char quoteChar
)

參數

  • number
    Type: System.Decimal

    要寫入,但未編碼的十進位值。

  • quoteChar
    Type: System.Char

    會指定要用於引號字元 System.Char 物件。

請參閱

參照

SPEncode class

SPEncode members

WriteNoEncodeWithQuote overload

Microsoft.SharePoint.Utilities namespace