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要对内容进行编码的 。

实现

适用于