UrlPathEncode Method

HttpServerUtilityWrapper.UrlPathEncode Method (String)

.NET Framework (current version)
 

URL-encodes the path section of a URL string.

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

public override string UrlPathEncode(
	string s
)

Parameters

s
Type: System.String

The string to URL-encode.

Return Value

Type: System.String

The URL-encoded text.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft