HelperResult.WriteTo(TextWriter, HtmlEncoder) 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.
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.