XhtmlPageAdapter.CreateTextWriter(TextWriter) 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.
Creates and returns a text writer that is appropriate for the target device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
virtual System::Web::UI::HtmlTextWriter ^ CreateTextWriter(System::IO::TextWriter ^ writer);
public virtual System.Web.UI.HtmlTextWriter CreateTextWriter (System.IO.TextWriter writer);
abstract member CreateTextWriter : System.IO.TextWriter -> System.Web.UI.HtmlTextWriter
override this.CreateTextWriter : System.IO.TextWriter -> System.Web.UI.HtmlTextWriter
Public Overridable Function CreateTextWriter (writer As TextWriter) As HtmlTextWriter
Parameters
- writer
- TextWriter
A TextWriter object or an object inherited from the TextWriter.
Returns
A new XhtmlTextWriter object based on the provided TextWriter object.