共用方式為


HelperResult.WriteTo(TextWriter, HtmlEncoder) 方法

定義

叫用以從 HelperResult 產生內容的方法。

public:
 virtual void WriteTo(System::IO::TextWriter ^ writer, System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public virtual void WriteTo (System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder);
abstract member WriteTo : System.IO.TextWriter * System.Text.Encodings.Web.HtmlEncoder -> unit
override this.WriteTo : System.IO.TextWriter * System.Text.Encodings.Web.HtmlEncoder -> unit
Public Overridable Sub WriteTo (writer As TextWriter, encoder As HtmlEncoder)

參數

writer
TextWriter

要寫入的 TextWriter 實例。

encoder
HtmlEncoder

HtmlEncoder要編碼內容的 。

實作

適用於