HttpServerUtilityWrapper::UrlEncode Method

 

Encodes a string to include only characters that are valid in a URL.

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

NameDescription
System_CAPS_pubmethodUrlEncode(String^)

URL-encodes a string and returns the encoded string.(Overrides HttpServerUtilityBase::UrlEncode(String^).)

System_CAPS_pubmethodUrlEncode(String^, TextWriter^)

URL-encodes a string and sends the resulting output to a stream.(Overrides HttpServerUtilityBase::UrlEncode(String^, TextWriter^).)

Return to top
Show: