共用方式為


SPEncode.UrlDecodeAsUrl method

解碼編碼的通用資源定位器 (URL) 字串,移除引號括住 utf-8 格式設定的特殊字元。

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

Syntax

'宣告
Public Shared Function UrlDecodeAsUrl ( _
    strEncodedUrl As String _
) As String
'用途
Dim strEncodedUrl As String
Dim returnValue As String

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

參數

  • strEncodedUrl
    Type: System.String

    若要解碼之 URL 字串。

傳回值

Type: System.String
解碼的 URL 的字串。

請參閱

參照

SPEncode class

SPEncode members

Microsoft.SharePoint.Utilities namespace