Uri.Unescape Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

Converts the specified string by replacing any escape sequences with their unescaped representation.

Namespace:   System
Assembly:  System (in System.dll)

[ObsoleteAttribute("The method has been deprecated. Please use GetComponents() or static UnescapeDataString() to unescape a Uri component or a string. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual string Unescape(
	string path


Type: System.String

The String to convert.

Return Value

Type: System.String

A String that contains the unescaped value of the path parameter.

.NET Framework
Available since 1.1
Return to top