Visual Studio SDK
Url..::.Unescape Method

Converts an escaped string to an unescaped string.

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

Syntax

Visual Basic (Declaration)
Public Shared Function Unescape ( _
    escaped As String, _
    isFile As Boolean _
) As String
Visual Basic (Usage)
Dim escaped As String
Dim isFile As Boolean
Dim returnValue As String

returnValue = Url.Unescape(escaped, _
    isFile)
C#
public static string Unescape(
    string escaped,
    bool isFile
)
Visual C++
public:
static String^ Unescape(
    String^ escaped, 
    bool isFile
)
JScript
public static function Unescape(
    escaped : String, 
    isFile : boolean
) : String

Parameters

escaped
Type: System..::.String

The string to convert.

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.

Permissions

See Also

Reference

Tag :


Page view tracker