Url.Unescape(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an escaped string to an unescaped string.
public:
static System::String ^ Unescape(System::String ^ escaped, bool isFile);
public:
static Platform::String ^ Unescape(Platform::String ^ escaped, bool isFile);
static std::wstring Unescape(std::wstring const & escaped, bool isFile);
public static string Unescape (string escaped, bool isFile);
static member Unescape : string * bool -> string
Public Shared Function Unescape (escaped As String, isFile As Boolean) As String
Parameters
- escaped
- String
The string to convert.
- isFile
- Boolean
true
if the string represents a file URL; otherwise, false
.
Returns
The unescaped string.
Remarks
This method converts hexadecimal-encoded characters to ASCII and replaces forward slashes to the default directory separator character.