IHtmlContent.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.
Writes the content by encoding it with the specified encoder
to the specified writer
.
public:
void WriteTo(System::IO::TextWriter ^ writer, System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public void WriteTo (System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder);
abstract member WriteTo : System.IO.TextWriter * System.Text.Encodings.Web.HtmlEncoder -> unit
Public Sub WriteTo (writer As TextWriter, encoder As HtmlEncoder)
Parameters
- writer
- TextWriter
The TextWriter to which the content is written.
- encoder
- HtmlEncoder
The HtmlEncoder which encodes the content to be written.