共用方式為


Url.Unescape Method

Converts an escaped string to an unescaped string.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Shared Function Unescape ( _
    escaped As String, _
    isFile As Boolean _
) As String
public static string Unescape(
    string escaped,
    bool isFile
)

Parameters

  • isFile
    Type: System.Boolean
    true if the string represents a file URL; otherwise, false.

Return Value

Type: System.String
The unescaped string.

Remarks

This method converts hexadecimal-encoded characters to ASCII and replaces forward slashes to the default directory separator character.

.NET Framework Security

See Also

Reference

Url Class

Microsoft.VisualStudio.Shell Namespace