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

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.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft