HttpServerUtilityWrapper.UrlDecode Method (String, TextWriter)


Decodes a URL-encoded string and sends the resulting output to a stream.

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

public override void UrlDecode(
	string s,
	TextWriter output


Type: System.String

The HTML string to decode.

Type: System.IO.TextWriter

The stream to contain the decoded string.

The output parameter is passed by reference to the UrlDecode method. To retrieve the output from the handler after the method completes, you use the properties and methods of the output object. For an example, see HtmlDecode.

.NET Framework
Available since 3.5
Return to top