HttpUtility.UrlPathEncode(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Do not use; intended only for browser compatibility. Use UrlEncode(String).
public:
static System::String ^ UrlPathEncode(System::String ^ str);
public static string? UrlPathEncode (string? str);
public static string UrlPathEncode (string str);
static member UrlPathEncode : string -> string
Public Shared Function UrlPathEncode (str As String) As String
Parameters
- str
- String
The text to encode.
Returns
The encoded text.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.