HttpServerUtilityWrapper.HtmlDecode Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Decodes an HTML-encoded string.
Overloads
| HtmlDecode(String) | Decodes an HTML-encoded string and returns the decoded string. | 
| HtmlDecode(String, TextWriter) | Decodes an HTML-encoded string and returns the results in a stream. | 
HtmlDecode(String)
Decodes an HTML-encoded string and returns the decoded string.
public:
 override System::String ^ HtmlDecode(System::String ^ s);public override string HtmlDecode(string s);override this.HtmlDecode : string -> stringPublic Overrides Function HtmlDecode (s As String) As StringParameters
- s
- String
The HTML string to decode.
Returns
The decoded text.
Applies to
HtmlDecode(String, TextWriter)
Decodes an HTML-encoded string and returns the results in a stream.
public:
 override void HtmlDecode(System::String ^ s, System::IO::TextWriter ^ output);public override void HtmlDecode(string s, System.IO.TextWriter output);override this.HtmlDecode : string * System.IO.TextWriter -> unitPublic Overrides Sub HtmlDecode (s As String, output As TextWriter)Parameters
- s
- String
The HTML string to decode.
- output
- TextWriter
The stream to contain the decoded string.
Remarks
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.