Op Englesch liesen

Deelen iwwer


IHtmlContent.WriteTo(TextWriter, HtmlEncoder) Method

Definition

Writes the content by encoding it with the specified encoder to the specified writer.

C#
public void WriteTo (System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder);

Parameters

writer
TextWriter

The TextWriter to which the content is written.

encoder
HtmlEncoder

The HtmlEncoder which encodes the content to be written.

Applies to

Produkt Versiounen
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0