Editar

Partilhar via


HttpServerUtilityWrapper.HtmlDecode Method

Definition

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 -> string
Public Overrides Function HtmlDecode (s As String) As String

Parameters

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 -> unit
Public 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.

Applies to