HttpUtility.UrlPathEncode(String) 方法

定义

请勿使用;仅适用于浏览器兼容性。 请使用 UrlEncode(String)

public:
 static System::String ^ UrlPathEncode(System::String ^ str);
public:
 static System::String ^ UrlPathEncode(System::String ^ s);
public static string? UrlPathEncode (string? str);
public static string UrlPathEncode (string str);
public static string UrlPathEncode (string s);
static member UrlPathEncode : string -> string
static member UrlPathEncode : string -> string
Public Shared Function UrlPathEncode (str As String) As String
Public Shared Function UrlPathEncode (s As String) As String

参数

strs
String

要编码的文本。

返回

String

编码的文本。

适用于