Dela via


HelperResult.WriteTo(TextWriter, HtmlEncoder) Method

Definition

Method invoked to produce content from the 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)

Parameters

writer
TextWriter

The TextWriter instance to write to.

encoder
HtmlEncoder

The HtmlEncoder to encode the content.

Implements

Applies to