HtmlDecode Method (String, TextWriter)
Collapse the table of content
Expand the table of content

HttpServerUtilityBase.HtmlDecode Method (String, TextWriter)

 

When overridden in a derived class, decodes an HTML-encoded string and returns the results in a stream.

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

public virtual void HtmlDecode(
	string s,
	TextWriter output
)

Parameters

s
Type: System.String

The HTML string to decode.

output
Type: System.IO.TextWriter

The stream to contain the decoded string.

Exception Condition
NotImplementedException

Always.

The output parameter is passed by reference to the HtmlDecode 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
Show:
© 2016 Microsoft