HtmlTextWriter::Encoding Property
.NET Framework (current version)
Gets the encoding that the HtmlTextWriter object uses to write content to the page.
Assembly: System.Web (in System.Web.dll)
The Encoding property obtains its value from the base TextWriter object.
The following code example shows how to use the Encoding property to write the type of encoding that a custom control uses to render text to the page that contains it.
.NET Framework
Available since 1.1
Available since 1.1
Show: