Uri.Unescape(String) Method

Definition

Warning

This API is now obsolete.

轉換指定的字串,方法是將任何逸出序列取代成未逸出的表示。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);
[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")]
[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);
protected virtual string Unescape (string path);
abstract member Unescape : string -> string
override this.Unescape : string -> string
Protected Overridable Function Unescape (path As String) As String

Parameters

path
String

要進行轉換的 StringThe String to convert.

Returns

String

String,包含 path 參數的未逸出值。A String that contains the unescaped value of the path parameter.

Attributes

Applies to