SPEncode.WriteNoEncodeWithQuote method (HttpResponse, String, Char)
Applies no encoding to the specified string and writes the string in quotation marks to the HTTP output content stream.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub WriteNoEncodeWithQuote ( _
response As HttpResponse, _
str As String, _
quoteChar As Char _
)
'Usage
Dim response As HttpResponse
Dim str As String
Dim quoteChar As CharSPEncode.WriteNoEncodeWithQuote(response, _
str, quoteChar)
public static void WriteNoEncodeWithQuote(
HttpResponse response,
string str,
char quoteChar
)
Parameters
response
Type: System.Web.HttpResponseThe System.HttpResponse object for the current HTTP request.
str
Type: System.StringThe string to write but not encode.
quoteChar
Type: System.CharA System.Char object that specifies the character to use for quotation marks.