XhtmlMobileTextWriter Class

XhtmlMobileTextWriter Class

 
Note: This API is now obsolete.

Provides text writer functionality for devices targeted by the XHTML adapter set, including Extensible Hypertext Markup Language (XHTML), XHTML Mobile, and Wireless Markup Language (WML). 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)

System.Object
  System.MarshalByRefObject
    System.IO.TextWriter
      System.Web.UI.HtmlTextWriter
        System.Web.UI.MobileControls.Adapters.MultiPartWriter
          System.Web.UI.MobileControls.Adapters.MobileTextWriter
            System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter

[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, 
	Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, 
	Level = AspNetHostingPermissionLevel.Minimal)]
public class XhtmlMobileTextWriter : MobileTextWriter

NameDescription
System_CAPS_pubmethodXhtmlMobileTextWriter(TextWriter, MobileCapabilities)

Initializes a new instance of the ChtmlMobileTextWriter class for the provided device, using the writer parameter as the base writer object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

NameDescription
System_CAPS_pubpropertyCacheKey

Gets the unique key used to retrieve items from the Cache. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubpropertyCustomBodyStyles

Gets and sets custom style settings for the body of the page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubpropertyDevice

Retrieves the MobileCapabilities object for the current requesting device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MobileTextWriter.)

System_CAPS_pubpropertyEncoding

Gets the encoding that the HtmlTextWriter object uses to write content to the page.(Inherited from HtmlTextWriter.)

System_CAPS_pubpropertyFormatProvider

Gets an object that controls formatting.(Inherited from TextWriter.)

System_CAPS_pubpropertyIndent

Gets or sets the number of tab positions to indent the beginning of each line of markup.(Inherited from HtmlTextWriter.)

System_CAPS_pubpropertyInnerWriter

Gets or sets the text writer that writes the inner content of the markup element.(Inherited from HtmlTextWriter.)

System_CAPS_pubpropertyNewLine

Gets or sets the line terminator string used by the HtmlTextWriter object.(Inherited from HtmlTextWriter.)

System_CAPS_pubpropertySessionKey

Gets the key used to retrieve items from the Session. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubpropertySupportsMultiPart

Gets a value indicating whether multipart writing is supported. Default is false. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MobileTextWriter.)

System_CAPS_pubpropertySupportsNoWrapStyle

Indicates whether the target device supports the "white-space: nowrap;" style-sheet attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubpropertySuppressNewLine

Indicates whether the WriteLine method should write a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_protpropertyTagKey

Gets or sets the HtmlTextWriterTag value for the specified markup element.(Inherited from HtmlTextWriter.)

System_CAPS_protpropertyTagName

Gets or sets the tag name of the markup element being rendered.(Inherited from HtmlTextWriter.)

System_CAPS_pubpropertyUseDivsForBreaks

Indicates whether to use <div> tags for line breaks rather than <br/> tags when writing line terminators. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

NameDescription
System_CAPS_pubmethodAddAttribute(HtmlTextWriterAttribute, String)

Adds the markup attribute and the attribute value to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodAddAttribute(HtmlTextWriterAttribute, String, Boolean)

Adds the markup attribute and the attribute value to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method, with optional encoding.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodAddAttribute(String, String)

Adds the specified markup attribute and value to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodAddAttribute(String, String, Boolean)

Adds the specified markup attribute and value to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method, with optional encoding.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodAddAttribute(String, String, HtmlTextWriterAttribute)

Adds the specified markup attribute and value, along with an HtmlTextWriterAttribute enumeration value, to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodAddOnEnterForwardSetVar(String)

Adds a provided variable name to a list of variables to be embedded in pages for WML devices. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodAddOnEnterForwardSetVar(String, String)

Adds a provided variable name and value to a list of variables to be embedded in pages for WML devices. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodAddResource(String)

Adds a resource reference to the given URL, with the optional MIME type for the specified content. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MultiPartWriter.)

System_CAPS_pubmethodAddResource(String, String)

Adds a resource reference to the given URL, with the optional MIME type for the specified content. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MobileTextWriter.)

System_CAPS_pubmethodAddStyleAttribute(HtmlTextWriterStyle, String)

Adds the markup style attribute associated with the specified HtmlTextWriterStyle value and the attribute value to the opening markup tag created by a subsequent call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodAddStyleAttribute(String, String)

Adds the specified markup style attribute and the attribute value to the opening markup tag created by a subsequent call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodAddStyleAttribute(String, String, HtmlTextWriterStyle)

Adds the specified markup style attribute and the attribute value, along with an HtmlTextWriterStyle enumeration value, to the opening markup tag created by a subsequent call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodBeginCachedRendering()

Instructs the XhtmlMobileTextWriter object to save all rendered markup until written out in its entirety by the EndCachedRendering method. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodBeginFile(String, String, String)

Begins a response file. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MobileTextWriter.)

System_CAPS_pubmethodBeginRender()

Notifies an HtmlTextWriter object, or an object of a derived class, that a control is about to be rendered. (Inherited from HtmlTextWriter.)

System_CAPS_pubmethodBeginResponse()

Begins a response. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MobileTextWriter.)

System_CAPS_pubmethodClearPendingBreak()

Removes a break that was to be rendered after writing the current element to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodClose()

Closes the HtmlTextWriter object and releases any system resources associated with it.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the TextWriter object.(Inherited from TextWriter.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the TextWriter and optionally releases the managed resources.(Inherited from TextWriter.)

System_CAPS_protmethodEncodeAttributeValue(HtmlTextWriterAttribute, String)

Encodes the value of the specified markup attribute based on the requirements of the HttpRequest object of the current context.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodEncodeAttributeValue(String, Boolean)

Encodes the value of the specified markup attribute based on the requirements of the HttpRequest object of the current context.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodEncodeUrl(String)

Performs minimal URL encoding by converting spaces in the specified URL to the string "%20".(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodEndCachedRendering()

Writes out the cached markup and instructs the XhtmlMobileTextWriter not to save rendered markup. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodEndFile()

Ends a response file. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MobileTextWriter.)

System_CAPS_pubmethodEndRender()

Notifies an HtmlTextWriter object, or an object of a derived class, that a control has finished rendering. You can use this method to close any markup elements opened in the BeginRender method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodEndResponse()

Ends a response. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MobileTextWriter.)

System_CAPS_pubmethodEnterFormat(Style)

Sets the provided style as the current formatting style if the BeginCachedRendering method has been called. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides MobileTextWriter.EnterFormat(Style).)

System_CAPS_pubmethodEnterLayout(Style)

Sets the provided style as the current layout style if the BeginCachedRendering method has been called. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides MobileTextWriter.EnterLayout(Style).)

System_CAPS_pubmethodEnterStyle(Style)

Writes the opening tag of a <span> element that contains attributes that implement the layout and character formatting of the specified style. (Inherited from HtmlTextWriter.)

System_CAPS_pubmethodEnterStyle(Style)

Sets the provided style as the current style if the BeginCachedRendering method has been called. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodEnterStyle(Style, HtmlTextWriterTag)

Writes the opening tag of a markup element that contains attributes that implement the layout and character formatting of the specified style. (Inherited from HtmlTextWriter.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExitFormat(Style)

Removes the current style, restores the previous style as the current formatting style, and calls the WriteEndTag method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides MobileTextWriter.ExitFormat(Style).)

System_CAPS_pubmethodExitFormat(Style, Boolean)

Removes the current style, restores the previous style as the current formatting style, and calls the WriteEndTag method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides MobileTextWriter.ExitFormat(Style, Boolean).)

System_CAPS_pubmethodExitLayout(Style)

Removes the current style, restores the previous style as the current layout style, and calls the WriteEndTag method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides MobileTextWriter.ExitLayout(Style).)

System_CAPS_pubmethodExitLayout(Style, Boolean)

Removes the current style, restores the previous style as the current layout style, and calls the WriteEndTag method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides MobileTextWriter.ExitLayout(Style, Boolean).)

System_CAPS_pubmethodExitStyle(Style)

Writes the closing tag of a <span> element to end the specified layout and character formatting. (Inherited from HtmlTextWriter.)

System_CAPS_pubmethodExitStyle(Style)

Removes the current style, restores the previous style as the current style, and calls the WriteEndTag method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodExitStyle(Style, HtmlTextWriterTag)

Writes the closing tag of the specified markup element to end the specified layout and character formatting. (Inherited from HtmlTextWriter.)

System_CAPS_protmethodFilterAttributes()

Removes all the markup and style attributes on all properties of the page or Web server control.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFlush()

Clears all buffers for the current HtmlTextWriter object and causes any buffered data to be written to the output stream.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodFlushAsync()

Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device. (Inherited from TextWriter.)

System_CAPS_protmethodGetAttributeKey(String)

Obtains the corresponding HtmlTextWriterAttribute enumeration value for the specified attribute.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodGetAttributeName(HtmlTextWriterAttribute)

Obtains the name of the markup attribute associated with the specified HtmlTextWriterAttribute value.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetStyleKey(String)

Obtains the HtmlTextWriterStyle enumeration value for the specified style.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodGetStyleName(HtmlTextWriterStyle)

Obtains the markup style attribute name associated with the specified HtmlTextWriterStyle enumeration value.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodGetTagKey(String)

Obtains the HtmlTextWriterTag enumeration value associated with the specified markup element.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodGetTagName(HtmlTextWriterTag)

Obtains the markup element associated with the specified HtmlTextWriterTag enumeration value.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodIsAttributeDefined(HtmlTextWriterAttribute)

Determines whether the specified markup attribute and its value are rendered during the next call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodIsAttributeDefined(HtmlTextWriterAttribute, String)

Determines whether the specified markup attribute and its value are rendered during the next call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodIsStyleAttributeDefined(HtmlTextWriterStyle)

Determines whether the specified markup style attribute is rendered during the next call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodIsStyleAttributeDefined(HtmlTextWriterStyle, String)

Determines whether the specified markup style attribute and its value are rendered during the next call to the RenderBeginTag method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodIsStyleSheetEmpty()

Returns a value indicating whether a style has been set. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodIsValidFormAttribute(String)

Checks an attribute to ensure that it can be rendered in the opening tag of a <form> markup element. (Inherited from HtmlTextWriter.)

System_CAPS_pubmethodMarkWmlOnEventLocation()

Marks the location in the output stream to insert the <wml:onevent> element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodNewUrl(String)

Generates a unique URL. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from MultiPartWriter.)

System_CAPS_protmethodOnAttributeRender(String, String, HtmlTextWriterAttribute)

Determines whether the specified markup attribute and its value can be rendered to the current markup element.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodOnStyleAttributeRender(String, String, HtmlTextWriterStyle)

Determines whether the specified markup style attribute and its value can be rendered to the current markup element.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodOnTagRender(String, HtmlTextWriterTag)

Determines whether the specified markup element will be rendered to the requesting page.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodOutputTabs()

Writes a series of tab strings that represent the indentation level for a line of markup characters.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodPopEndTag()

Removes the most recently saved markup element from the list of rendered elements.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodPushEndTag(String)

Saves the specified markup element for later use when generating the end tag for a markup element.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodRenderAfterContent()

Writes any text or spacing that occurs after the content and before the closing tag of the markup element to the markup output stream.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodRenderAfterTag()

Writes any spacing or text that occurs after the closing tag for a markup element.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodRenderBeforeContent()

Writes any text or spacing before the content and after the opening tag of a markup element.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodRenderBeforeTag()

Writes any text or spacing that occurs before the opening tag of a markup element.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodRenderBeginTag(HtmlTextWriterTag)

Writes the opening tag of the markup element associated with the specified HtmlTextWriterTag enumeration value to the output stream.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodRenderBeginTag(String)

Writes the opening tag of the specified markup element to the output stream.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodRenderEndTag()

Writes the end tag of a markup element to the output stream.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodSetBodyStyle(Style)

Sets the provided style as the style for the <body> element of the page and as the default style for its child controls. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodSetCacheKey(Cache)

Creates a unique string to use when retrieving the style sheet from the cache. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodSetPendingBreak()

Sets a line break to be rendered after rendering the current element, if it is not a block element and if the SuppressNewLine property is false. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodSetSessionKey(HttpSessionState)

Creates a unique string for a client to use to retrieve a style sheet from the Session object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWrite(Boolean)

Writes the text representation of a Boolean value to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(Char)

Writes the text representation of a Unicode character to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(Char[])

Writes the text representation of an array of Unicode characters to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(Char[], Int32, Int32)

Writes the text representation of a subarray of Unicode characters to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(Decimal)

Writes the text representation of a decimal value to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(Double)

Writes the text representation of a double-precision floating-point number to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(Int32)

Writes the text representation of a 32-byte signed integer to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(Int64)

Writes the text representation of a 64-byte signed integer to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(Object)

Writes the text representation of an object to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(Single)

Writes the text representation of a single-precision floating-point number to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(String)

Writes the specified string to the output stream, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(String, Object)

Writes a tab string and a formatted string to the output stream, using the same semantics as the String.Format method, along with any pending tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(String, Object, Object)

Writes a formatted string that contains the text representation of two objects to the output stream, along with any pending tab spacing. This method uses the same semantics as the String.Format method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(String, Object, Object, Object)

Writes a formatted string to the text string or stream, using the same semantics as the String.Format(String, Object, Object, Object) method.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(String, Object[])

Writes a formatted string that contains the text representation of an object array to the output stream, along with any pending tab spacing. This method uses the same semantics as the String.Format method.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWrite(UInt32)

Writes the text representation of a 4-byte unsigned integer to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(UInt64)

Writes the text representation of an 8-byte unsigned integer to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteAsync(Char)

Writes a character to the text string or stream asynchronously.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteAsync(Char[])

Writes a character array to the text string or stream asynchronously.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteAsync(Char[], Int32, Int32)

Writes a subarray of characters to the text string or stream asynchronously. (Inherited from TextWriter.)

System_CAPS_pubmethodWriteAsync(String)

Writes a string to the text string or stream asynchronously.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteAttribute(String, String)

Writes the specified markup attribute and value to the output stream.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWriteAttribute(String, String, Boolean)

Writes an attribute and its value to the current element using the provided attribute and value, and encodes the value if specified. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteAttribute(String, String, Boolean).)

System_CAPS_pubmethodWriteBeginTag(String)

Writes any tab spacing and the opening tag of the specified markup element to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteBeginTag(String).)

System_CAPS_pubmethodWriteBreak()

If SuppressNewLine is false, writes a markup element that adds a new line to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodWriteCachedMarkup()

Writes out all markup cached since calling the BeginCachedRendering method. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodWriteDoctypeDeclaration(Doctype)

Writes a <!DOCTYPE> declaration that is unique to target devices represented by the provided Doctype value. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodWriteEncodedAttributeValue(String)

Encodes and writes the provided value to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodWriteEncodedText(String)

Encodes the specified text for the requesting device, and then writes it to the output stream. (Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWriteEncodedUrl(String)

Encodes the specified URL, and then writes it to the output stream. The URL might include parameters.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWriteEncodedUrlParameter(String)

Encodes the specified URL parameter for the requesting device, and then writes it to the output stream.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWriteEndTag(String)

Writes any tab spacing and the closing tag of the specified markup element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteEndTag(String).)

System_CAPS_pubmethodWriteFullBeginTag(String)

Writes any tab spacing and the full opening tag of the specified markup element to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteFullBeginTag(String).)

System_CAPS_pubmethodWriteHiddenField(String)

Writes the markup for a hidden field to the output stream using the provided name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodWriteHiddenField(String, String)

Writes the markup for a hidden field to the output stream using the provided name and value. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodWriteLine()

Writes a line terminator string to the output stream if SuppressNewLine is false. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine().)

System_CAPS_pubmethodWriteLine(Boolean)

Writes any pending tab spacing and the text representation of a Boolean value, then if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Boolean).)

System_CAPS_pubmethodWriteLine(Char)

Writes any pending tab spacing and a Unicode character, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Char).)

System_CAPS_pubmethodWriteLine(Char[])

Writes any pending tab spacing and an array of Unicode characters, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Char[]).)

System_CAPS_pubmethodWriteLine(Char[], Int32, Int32)

Writes any pending tab spacing and a subarray of Unicode characters, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Char[], Int32, Int32).)

System_CAPS_pubmethodWriteLine(Decimal)

Writes the text representation of a decimal value followed by a line terminator to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(Double)

Writes any pending tab spacing and the text representation of a double-precision floating-point number, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Double).)

System_CAPS_pubmethodWriteLine(Int32)

Writes any pending tab spacing and the text representation of a 32-byte signed integer, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Int32).)

System_CAPS_pubmethodWriteLine(Int64)

Writes any pending tab spacing and the text representation of a 64-byte signed integer, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Int64).)

System_CAPS_pubmethodWriteLine(Object)

Writes any pending tab spacing and the text representation of an object, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Object).)

System_CAPS_pubmethodWriteLine(Single)

Writes any pending tab spacing and the text representation of a single-precision floating-point number, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(Single).)

System_CAPS_pubmethodWriteLine(String)

Writes any pending tab spacing and a text string, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(String).)

System_CAPS_pubmethodWriteLine(String, Object)

Writes any pending tab spacing and a formatted string containing the text representation of an object, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(String, Object).)

System_CAPS_pubmethodWriteLine(String, Object, Object)

Writes any pending tab spacing and a formatted string that contains the text representation of two objects, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(String, Object, Object).)

System_CAPS_pubmethodWriteLine(String, Object, Object, Object)

Writes out a formatted string and a new line, using the same semantics as Format.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(String, Object[])

Writes any pending tab spacing and a formatted string that contains the text representation of an object array, and if SuppressNewLine is false, writes a line terminator string to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides HtmlTextWriter.WriteLine(String, Object[]).)

System_CAPS_pubmethodWriteLine(UInt32)

Writes any pending tab spacing and the text representation of a 4-byte unsigned integer, followed by a line terminator string, to the output stream.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWriteLine(UInt64)

Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync()

Writes a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync(Char)

Writes a character followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync(Char[])

Writes an array of characters followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync(Char[], Int32, Int32)

Writes a subarray of characters followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync(String)

Writes a string followed by a line terminator asynchronously to the text string or stream. (Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineNoTabs(String)

Writes a string, followed by a line terminator string, to the output stream. This method ignores any specified tab spacing.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWritePendingBreak()

Writes a line terminator string to the output stream if the current element is not a block element such as <p>, <div>, <ul>, <table>, and SuppressNewLine is false, and there is a pending break. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodWriteStyleAttribute(String, String)

Writes the specified style attribute to the output stream.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWriteStyleAttribute(String, String, Boolean)

Writes the specified style attribute and value to the output stream, and encodes the value, if specified.(Inherited from HtmlTextWriter.)

System_CAPS_protmethodWriteUrlEncodedString(String, Boolean)

Writes the specified string, encoding it according to URL requirements.(Inherited from HtmlTextWriter.)

System_CAPS_pubmethodWriteUrlParameter(String, String)

Writes an encoded URL, which includes a query-string parameter, to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubmethodWriteXmlDeclaration()

Writes an XML declaration along with the current document encoding value. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

NameDescription
System_CAPS_protfieldCoreNewLine

Stores the newline characters used for this TextWriter.(Inherited from TextWriter.)

XHTML is an XML-compliant markup that is based on HTML 4.1 and allows you to create Web sites suitable for multiple device types. It merges HTML's ease of use with XML's strict element guidelines to produce a markup language with a wide range of format and style options and reduced markup tag ambiguity. This class provides formatting capabilities that ASP.NET server controls use when rendering XHTML content to clients. The XhtmlMobileTextWriter renders markup that meets the standards of three different XHTML doc types: XHTML Basic, which supports limited style and format elements; XHTML Mobile Profile, which supports inline style sheets; and WML 2.0, which is based on XHTML 1.1 and supports cascading style sheets.

This class is used primarily by developers of custom mobile page and control adapters.

The XhtmlMobileTextWriter class can render all HTML elements, attributes, and style attributes, but, unlike the HtmlTextWriter class, does not allow title capitalization of these markup elements.

An XhtmlPageAdapter instantiates an XhtmlMobileTextWriter and depending on the capabilities of the target device, initializes a number of properties, such as SupportsNoWrapStyle, SuppressNewLine, and UseDivsForBreaks, that assist the text writer in rendering the page and its controls.

Your adapter can use a variety of methods to apply styles and control formatting:

You can use the members of this class, and any members it inherits from the MobileTextWriter class, to create custom text writers to use in a custom XHTML page or in class adapters. You can also create new derived classes that override the standard behavior of the XhtmlMobileTextWriter class.

Device filtering is required in order to use a specific adapter or text writer for a server control. For more information about device filtering, see Architectural Overview of Adaptive Control Behavior and ASP.NET Device Filtering Overview.

AspNetHostingPermission

for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.

AspNetHostingPermission

for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft