共用方式為


SPHttpUtility.AddQuote method (String, TextWriter)

以引號括住指定的字串,並將輸出附加至指定的輸出資料流。

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

Syntax

'宣告
Public Shared Sub AddQuote ( _
    value As String, _
    output As TextWriter _
)
'用途
Dim value As String
Dim output As TextWriterSPHttpUtility.AddQuote(value, output)
public static void AddQuote(
    string value,
    TextWriter output
)

參數

備註

未逸出原始文字中的字元。

請參閱

參照

SPHttpUtility class

SPHttpUtility members

AddQuote overload

Microsoft.SharePoint.Utilities namespace