次の方法で共有


SPHttpUtility.WriteAddQuote method (String, Page)

Add a quote character quote around a given string, send it to TextWriter output stream. This function is a wrapper for AddQuote that takes a Page instead of a TextWriter for an argument.

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

Syntax

'Declaration
Public Shared Sub WriteAddQuote ( _
    value As String, _
    page As Page _
)
'Usage
Dim value As String
Dim page As PageSPHttpUtility.WriteAddQuote(value, page)
public static void WriteAddQuote(
    string value,
    Page page
)

Parameters

  • page
    Type: System.Web.UI.Page

    The Page being written. The appropriate TextWriter will be fetched.

Remarks

Double quote characters in the given string are not escaped. Only available in the ASP app domain.

See also

Reference

SPHttpUtility class

SPHttpUtility members

WriteAddQuote overload

Microsoft.SharePoint.Utilities namespace