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.
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.StringThe string to enclose in quotation marks.
Return Value
Type: System.String
The string enclosed in quotation marks.