SPEncode.WriteNoEncodeWithQuote 方法 (HttpResponse, Decimal, Char)

应用任何编码为指定的十进制值,并在引号内的值写入 HTTP 输出内容流。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
    类型:System.Decimal

    要写入但未编码的十进制值。

  • quoteChar
    类型:System.Char

    指定要用于引号字符 System.Char 对象。

另请参阅

引用

SPEncode 类

SPEncode 成员

WriteNoEncodeWithQuote 重载

Microsoft.SharePoint.Utilities 命名空间