SPHttpUtility.UrlKeyValueDecode method

Decodes the specified encoded URL query string key or value.

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

Syntax

'Declaration
Public Shared Function UrlKeyValueDecode ( _
    keyOrValueToDecode As String _
) As String
'Usage
Dim keyOrValueToDecode As String
Dim returnValue As String

returnValue = SPHttpUtility.UrlKeyValueDecode(keyOrValueToDecode)
public static string UrlKeyValueDecode(
    string keyOrValueToDecode
)

Parameters

  • keyOrValueToDecode
    Type: System.String

    The key or value string to decode.

Return value

Type: System.String
The decoded string.

Remarks

To encode a key or value string, use the UrlKeyValueEncode method.

See also

Reference

SPHttpUtility class

SPHttpUtility members

Microsoft.SharePoint.Utilities namespace