SPHttpUtility.AddQuote Method (String)

Encloses the specified string in quotation marks.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Shared Function AddQuote ( _
    value As String _
) As String
'Usage
Dim value As String
Dim returnValue As String

returnValue = SPHttpUtility.AddQuote(value)
public static string AddQuote(
    string value
)

Parameters

  • value
    Type: System.String

    The string to enclose in quotation marks.

Return Value

Type: System.String
The string enclosed in quotation marks.

See Also

Reference

SPHttpUtility Class

SPHttpUtility Members

AddQuote Overload

Microsoft.SharePoint.Utilities Namespace