Uri.Unescape(String) Uri.Unescape(String) Uri.Unescape(String) Uri.Unescape(String) Method

定义

警告

此 API 现已过时。

转换指定的字符串,方法是将任何转义序列替换为相应的未转义表示形式。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. http://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);
abstract member Unescape : string -> string
override this.Unescape : string -> string
Protected Overridable Function Unescape (path As String) As String

参数

path
String String String String

要转换的 StringThe String to convert.

返回

一个 String,包含 path 参数的非转义值。A String that contains the unescaped value of the path parameter.

适用于