Uri.Unescape(String) 方法

定义

注意

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

注意

Uri.Unescape has been deprecated. Use GetComponents() or Uri.UnescapeDataString() to unescape a Uri component or a string.

注意

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 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("Uri.Unescape has been deprecated. Use GetComponents() or Uri.UnescapeDataString() to unescape a Uri component or a string.")]
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("Uri.Unescape has been deprecated. Use GetComponents() or Uri.UnescapeDataString() to unescape a Uri component or a string.")>]
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

参数

path
String

要转换的字符串。

返回

String

path 参数的非转义值。

属性

适用于