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.
Decodes the specified encoded URL query string key or value.
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 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.StringThe 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.