Uri.Unescape(String) Method

Definition

Caution

The method has been deprecated. Please use GetComponents() or static UnescapeDataString() to unescape a Uri component or a string. https://go.microsoft.com/fwlink/?linkid=14202

Caution

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

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

protected:
 virtual System::String ^ Unescape(System::String ^ path);
[System.Obsolete("The method has been deprecated. Please use GetComponents() or static UnescapeDataString() to unescape a Uri component or a string. https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual string Unescape (string path);
[System.Obsolete("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);
protected virtual string Unescape (string path);
[<System.Obsolete("The method has been deprecated. Please use GetComponents() or static UnescapeDataString() to unescape a Uri component or a string. https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member Unescape : string -> string
override this.Unescape : string -> string
[<System.Obsolete("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")>]
abstract member Unescape : string -> string
override this.Unescape : string -> string
abstract member Unescape : string -> string
override this.Unescape : string -> string
Protected Overridable Function Unescape (path As String) As String

Parameters

path
String

The string to convert.

Returns

String

The unescaped value of the path parameter.

Attributes

Applies to