Share via


SPEncode.UrlDecodeAsUrl Method

Decodes the encoded Universal Resource Locator (URL) string, removing quoted UTF-8 formatting for special characters.

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 UrlDecodeAsUrl ( _
    strEncodedUrl As String _
) As String
'Usage
Dim strEncodedUrl As String
Dim returnValue As String

returnValue = SPEncode.UrlDecodeAsUrl(strEncodedUrl)
public static string UrlDecodeAsUrl(
    string strEncodedUrl
)

Parameters

Return Value

Type: System.String
The decoded URL string.

See Also

Reference

SPEncode Class

SPEncode Members

Microsoft.SharePoint.Utilities Namespace