This documentation is archived and is not being maintained.

HtmlMobileTextWriter Methods

The HtmlMobileTextWriter type exposes the following members.

  NameDescription
Public method AddAttribute(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.)
Public method AddAttribute(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.)
Public method AddAttribute(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.)
Public method AddAttribute(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.)
Protected method AddAttribute(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.)
Public method AddResource(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.)
Public method AddResource(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.)
Public method AddStyleAttribute(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.)
Public method AddStyleAttribute(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.)
Protected method AddStyleAttribute(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.)
Public method BeginFile 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.)
Public method BeginRender Notifies an HtmlTextWriter object, or an object of a derived class, that a control is about to be rendered. (Inherited from HtmlTextWriter.)
Public method BeginResponse 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.)
Public method BeginStyleContext Starts a new Style block. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public method Close Closes the HtmlTextWriter object and releases any system resources associated with it. (Inherited from HtmlTextWriter.)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose() Releases all resources used by the TextWriter object. (Inherited from TextWriter.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the TextWriter and optionally releases the managed resources. (Inherited from TextWriter.)
Protected method EncodeAttributeValue(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.)
Protected method EncodeAttributeValue(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.)
Protected method EncodeUrl Performs minimal URL encoding by converting spaces in the specified URL to the string "%20". (Inherited from HtmlTextWriter.)
Public method EndFile 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.)
Public method EndRender 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.)
Public method EndResponse 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.)
Public method EndStyleContext Completes a new Style block. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public method EnterFormat Begins a block by using the character formatting from a specified style. 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).)
Public method EnterLayout Begins a block by using the layout and character formatting from a given style. 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).)
Public method EnterStyle(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.)
Public method EnterStyle(Style) Begins a block by using the layout and character formatting from a given style. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public method EnterStyle(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.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExitFormat(Style) Ends a block that has been using the character formatting from a specified style. 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).)
Public method ExitFormat(Style, Boolean) Ends a block that has been using the character formatting from a specified style. 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).)
Public method ExitLayout(Style) Removes the current style, restores the previous style as the current layout style, and optionally 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).)
Public method ExitLayout(Style, Boolean) Removes the current style, restores the previous style as the current layout style, and optionally 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).)
Public method ExitStyle(Style) Writes the closing tag of a <span> element to end the specified layout and character formatting. (Inherited from HtmlTextWriter.)
Public method ExitStyle(Style) Ends a block that has been using the layout and character formatting from a given style. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public method ExitStyle(Style, HtmlTextWriterTag) Writes the closing tag of the specified markup element to end the specified layout and character formatting. (Inherited from HtmlTextWriter.)
Public method ExitStyle(Style, Boolean) Ends a block that has been using the layout and character formatting from a given style. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Protected method FilterAttributes Removes all the markup and style attributes on all properties of the page or Web server control. (Inherited from HtmlTextWriter.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush Clears all buffers for the current HtmlTextWriter object and causes any buffered data to be written to the output stream. (Inherited from HtmlTextWriter.)
Protected method GetAttributeKey Obtains the corresponding HtmlTextWriterAttribute enumeration value for the specified attribute. (Inherited from HtmlTextWriter.)
Protected method GetAttributeName Obtains the name of the markup attribute associated with the specified HtmlTextWriterAttribute value. (Inherited from HtmlTextWriter.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetStyleKey Obtains the HtmlTextWriterStyle enumeration value for the specified style. (Inherited from HtmlTextWriter.)
Protected method GetStyleName Obtains the markup style attribute name associated with the specified HtmlTextWriterStyle enumeration value. (Inherited from HtmlTextWriter.)
Protected method GetTagKey Obtains the HtmlTextWriterTag enumeration value associated with the specified markup element. (Inherited from HtmlTextWriter.)
Protected method GetTagName Obtains the markup element associated with the specified HtmlTextWriterTag enumeration value. (Inherited from HtmlTextWriter.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method IsAttributeDefined(HtmlTextWriterAttribute) Determines whether the specified markup attribute and its value are rendered during the next call to the RenderBeginTag method. (Inherited from HtmlTextWriter.)
Protected method IsAttributeDefined(HtmlTextWriterAttribute, String%) Determines whether the specified markup attribute and its value are rendered during the next call to the RenderBeginTag method. (Inherited from HtmlTextWriter.)
Protected method IsStyleAttributeDefined(HtmlTextWriterStyle) Determines whether the specified markup style attribute is rendered during the next call to the RenderBeginTag method. (Inherited from HtmlTextWriter.)
Protected method IsStyleAttributeDefined(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.)
Public method IsValidFormAttribute Checks an attribute to ensure that it can be rendered in the opening tag of a <form> markup element. (Inherited from HtmlTextWriter.)
Protected method MarkStyleContext Marks the beginning of a style context. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method NewUrl 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.)
Protected method OnAttributeRender Determines whether the specified markup attribute and its value can be rendered to the current markup element. (Inherited from HtmlTextWriter.)
Protected method OnStyleAttributeRender Determines whether the specified markup style attribute and its value can be rendered to the current markup element. (Inherited from HtmlTextWriter.)
Protected method OnTagRender Determines whether the specified markup element will be rendered to the requesting page. (Inherited from HtmlTextWriter.)
Protected method OutputTabs Writes a series of tab strings that represent the indentation level for a line of markup characters. (Inherited from HtmlTextWriter.)
Protected method PopEndTag Removes the most recently saved markup element from the list of rendered elements. (Inherited from HtmlTextWriter.)
Protected method PushEndTag Saves the specified markup element for later use when generating the end tag for a markup element. (Inherited from HtmlTextWriter.)
Protected method RenderAfterContent 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.)
Protected method RenderAfterTag Writes any spacing or text that occurs after the closing tag for a markup element. (Inherited from HtmlTextWriter.)
Protected method RenderBeforeContent Writes any text or spacing before the content and after the opening tag of a markup element. (Inherited from HtmlTextWriter.)
Protected method RenderBeforeTag Writes any text or spacing that occurs before the opening tag of a markup element. (Inherited from HtmlTextWriter.)
Public method RenderBeginTag(HtmlTextWriterTag) Writes the opening tag of the markup element associated with the specified HtmlTextWriterTag enumeration value to the output stream. (Inherited from HtmlTextWriter.)
Public method RenderBeginTag(String) Writes the opening tag of the specified markup element to the output stream. (Inherited from HtmlTextWriter.)
Public method RenderEndTag Writes the end tag of a markup element to the output stream. (Inherited from HtmlTextWriter.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method UnMarkStyleContext Closes a style context. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public method Write(Boolean) Writes the text representation of a Boolean value to the output stream, along with any pending tab spacing. (Inherited from HtmlTextWriter.)
Public method Write(array<Char>) Writes the text representation of an array of Unicode characters to the output stream, along with any pending tab spacing. (Inherited from HtmlTextWriter.)
Public method Write(Char) Writes the given character 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::Write(Char).)
Public method Write(Decimal) Writes the text representation of a decimal value to the text stream. (Inherited from TextWriter.)
Public method Write(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.)
Public method Write(Int32) Writes the text representation of a 32-byte signed integer to the output stream, along with any pending tab spacing. (Inherited from HtmlTextWriter.)
Public method Write(Int64) Writes the text representation of a 64-byte signed integer to the output stream, along with any pending tab spacing. (Inherited from HtmlTextWriter.)
Public method Write(Object) Writes the text representation of an object to the output stream, along with any pending tab spacing. (Inherited from HtmlTextWriter.)
Public method Write(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.)
Public method Write(String) Writes the text to the output stream, along with any pending tab spacing. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Overrides HtmlTextWriter::Write(String).)
Public method Write(UInt32) Writes the text representation of a 4-byte unsigned integer to the text stream. (Inherited from TextWriter.)
Public method Write(UInt64) Writes the text representation of an 8-byte unsigned integer to the text stream. (Inherited from TextWriter.)
Public method Write(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.)
Public method Write(String, array<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.)
Public method Write(array<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.)
Public method Write(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.)
Public method Write(String, Object, Object, Object) Writes out a formatted string, using the same semantics as String::Format. (Inherited from TextWriter.)
Public method WriteAttribute(String, String) Writes the specified markup attribute and value to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteAttribute(String, String, Boolean) Writes the specified markup attribute and value to the output stream, and, if specified, writes the value encoded. (Inherited from HtmlTextWriter.)
Public method WriteBeginTag 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).)
Public method WriteBreak Writes a line break. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public method WriteEncodedText Encodes the specified text for the requesting device, and then writes it 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::WriteEncodedText(String).)
Public method WriteEncodedUrl Encodes the specified URL, and then writes it to the output stream. The URL might include parameters. (Inherited from HtmlTextWriter.)
Public method WriteEncodedUrlParameter Encodes the specified URL parameter for the requesting device, and then writes it to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteEndTag Writes any tab spacing and the closing tag of the specified markup element. (Inherited from HtmlTextWriter.)
Public method WriteFullBeginTag 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::WriteFullBeginTag(String).)
Public method WriteHiddenField Writes a hidden field with the given 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.
Public method WriteLine() Writes a line terminator string to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(Boolean) Writes any pending tab spacing and the text representation of a Boolean value, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(Char) Writes any pending tab spacing and a Unicode character, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(array<Char>) Writes any pending tab spacing and an array of Unicode characters, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(Decimal) Writes the text representation of a decimal value followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine(Double) Writes any pending tab spacing and the text representation of a double-precision floating-point number, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(Int32) Writes any pending tab spacing and the text representation of a 32-byte signed integer, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(Int64) Writes any pending tab spacing and the text representation of a 64-byte signed integer, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(Object) Writes any pending tab spacing and the text representation of an object, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(Single) Writes any pending tab spacing and the text representation of a single-precision floating-point number, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(String) 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).)
Public method WriteLine(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.)
Public method WriteLine(UInt64) Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine(String, Object) Writes any pending tab spacing and a formatted string containing the text representation of an object, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(String, array<Object>) Writes any pending tab spacing and a formatted string that contains the text representation of an object array, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(array<Char>, Int32, Int32) Writes any pending tab spacing and a subarray of Unicode characters, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(String, Object, Object) Writes any pending tab spacing and a formatted string that contains the text representation of two objects, followed by a line terminator string, to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteLine(String, Object, Object, Object) Writes out a formatted string and a new line, using the same semantics as Format. (Inherited from TextWriter.)
Public method WriteLineNoTabs Writes a string, followed by a line terminator string, to the output stream. This method ignores any specified tab spacing. (Inherited from HtmlTextWriter.)
Public method WriteStyleAttribute(String, String) Writes the specified style attribute to the output stream. (Inherited from HtmlTextWriter.)
Public method WriteStyleAttribute(String, String, Boolean) Writes the specified style attribute and value to the output stream, and encodes the value, if specified. (Inherited from HtmlTextWriter.)
Public method WriteText Writes the given text, optionally with encoding. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Protected method WriteUrlEncodedString Writes the specified string, encoding it according to URL requirements. (Inherited from HtmlTextWriter.)
Public method WriteUrlParameter Writes an encoded URL parameter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Top
Show: