Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encloses the specified string in quotation marks and appends the output to the specified output stream.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Sub AddQuote ( _
value As String, _
output As TextWriter _
)
'Usage
Dim value As String
Dim output As TextWriterSPHttpUtility.AddQuote(value, output)
public static void AddQuote(
string value,
TextWriter output
)
Parameters
value
Type: System.StringThe string to enclose in quotation marks.
output
Type: System.IO.TextWriterA TextWriter object that represents the output stream in which to append the string enclosed in quotation marks.
Remarks
Characters in the original text are not escaped.