HttpUtility.UrlPathEncode(String) HttpUtility.UrlPathEncode(String) HttpUtility.UrlPathEncode(String) HttpUtility.UrlPathEncode(String) Method

定義

請勿使用,只在需要瀏覽器相容性時使用。Do not use; intended only for browser compatibility. 使用 UrlEncode(String)Use UrlEncode(String).

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

參數

str
String String String String

要編碼的文字。The text to encode.

傳回

已編碼的文字。The encoded text.

適用於