Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpServerUtility.UrlPathEncode Method

Do not use; intended only for browser compatibility. Use UrlEncode.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public string UrlPathEncode(
	string s


Type: System.String

The text to URL-encode.

Return Value

Type: System.String
The URL encoded text.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
© 2015 Microsoft