HttpServerUtilityWrapper.HtmlDecode 方法

定義

解碼一個 HTML 編碼的字串。

多載

名稱 Description
HtmlDecode(String)

解碼一個 HTML 編碼的字串,並回傳解碼後的字串。

HtmlDecode(String, TextWriter)

解碼一個 HTML 編碼的字串,並以串流回傳結果。

HtmlDecode(String)

解碼一個 HTML 編碼的字串,並回傳解碼後的字串。

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

參數

s
String

要解碼的 HTML 字串。

傳回

解碼後的文字。

適用於

HtmlDecode(String, TextWriter)

解碼一個 HTML 編碼的字串,並以串流回傳結果。

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)

參數

s
String

要解碼的 HTML 字串。

output
TextWriter

串流以包含解碼後的字串。

備註

output參數是透過方法HtmlDecode的參考傳遞。 要在方法完成後從處理器取得輸出,你要使用物件的 output 屬性和方法。 如需範例,請參閱 HtmlDecode

適用於