Url.Unescape Method

Converts an escaped string to an unescaped string.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Public Shared Function Unescape ( _
    escaped As String, _
    isFile As Boolean _
) As String
‘사용 방법
Dim escaped As String
Dim isFile As Boolean
Dim returnValue As String

returnValue = Url.Unescape(escaped, _
    isFile)
public static string Unescape(
    string escaped,
    bool isFile
)
public:
static String^ Unescape(
    String^ escaped, 
    bool isFile
)
static member Unescape : 
        escaped:string * 
        isFile:bool -> string 
public static function Unescape(
    escaped : String, 
    isFile : boolean
) : String

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

Url Members

Microsoft.VisualStudio.Shell Namespace