Encodes a subsection of a URL.
virtual String^ UrlPathEncode(
method is called by the UrlPathEncode method. The UrlPathEncode method performs the following steps: UrlPathEncode
Applies the encoding logic of the
method to only the path part of the URL (which excludes the query string). The method assumes that the URL is encoded as a UTF-8 string. UrlPathEncode
Encodes non-spaces so that only a subset of the first 128 ASCII characters is used in the resulting encoded string. Any characters at Unicode value 128 and greater, or 32 and less, are URL-encoded.
Encodes spaces as %20.
Supported in: 4.5.1, 4.5, 4
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
( 1500 characters remaining)
Thank you for your feedback