Επεξεργασία

Κοινή χρήση μέσω


XhtmlPageAdapter.CreateTextWriter(TextWriter) Method

Definition

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.

Implements

Applies to

See also