XhtmlPageAdapter.CreateTextWriter Method (TextWriter)

 

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 the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

abstract CreateTextWriter : 
        writer:TextWriter -> HtmlTextWriter
override CreateTextWriter : 
        writer:TextWriter -> HtmlTextWriter

Parameters

writer
Type: System.IO.TextWriter

A TextWriter object or an object inherited from the TextWriter.

Return Value

Type: System.Web.UI.HtmlTextWriter

A new XhtmlTextWriter object based on the provided TextWriter object.

.NET Framework
Available since 2.0
Return to top
Show: