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
)
參數
value
Type: System.String要以引號括住的字串。
output
Type: System.IO.TextWriterTextWriter物件,表示輸出資料流,以新增以引號括住的字串。
備註
未逸出原始文字中的字元。