This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class HtmlWriter
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class HtmlWriter

The type exposes the following methods.

Public Methods

  Name Description
Public method Close (Inherited from XmlTextWriter.)
Public method Dispose (Inherited from XmlWriter.)
Public method Equals (Inherited from Object.)
Public method Flush (Inherited from XmlTextWriter.)
Public method FlushAsync (Inherited from XmlWriter.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method LookupPrefix (Inherited from XmlTextWriter.)
Public method ToString (Inherited from Object.)
Public method WriteAttributes
This method is overriden to filter out attributes which are not allowed
(Overrides XmlWriter..::WriteAttributes(XmlReader, Boolean).)
Public method WriteAttributesAsync (Inherited from XmlWriter.)
Public method WriteAttributeString (Inherited from XmlWriter.)
Public method WriteAttributeString (Inherited from XmlWriter.)
Public method WriteAttributeString (Inherited from XmlWriter.)
Public method WriteAttributeStringAsync (Inherited from XmlWriter.)
Public method WriteBase64 (Inherited from XmlTextWriter.)
Public method WriteBase64Async (Inherited from XmlWriter.)
Public method WriteBinHex (Inherited from XmlTextWriter.)
Public method WriteBinHexAsync (Inherited from XmlWriter.)
Public method WriteCData (Inherited from XmlTextWriter.)
Public method WriteCDataAsync (Inherited from XmlWriter.)
Public method WriteCharEntity (Inherited from XmlTextWriter.)
Public method WriteCharEntityAsync (Inherited from XmlWriter.)
Public method WriteChars (Inherited from XmlTextWriter.)
Public method WriteCharsAsync (Inherited from XmlWriter.)
Public method WriteComment (Overrides XmlTextWriter..::WriteComment(String).)
Public method WriteCommentAsync (Inherited from XmlWriter.)
Public method WriteDocType (Inherited from XmlTextWriter.)
Public method WriteDocTypeAsync (Inherited from XmlWriter.)
Public method WriteElementString (Inherited from XmlWriter.)
Public method WriteElementString (Inherited from XmlWriter.)
Public method WriteElementString (Inherited from XmlWriter.)
Public method WriteElementStringAsync (Inherited from XmlWriter.)
Public method WriteEndAttribute (Inherited from XmlTextWriter.)
Public method WriteEndDocument (Inherited from XmlTextWriter.)
Public method WriteEndDocumentAsync (Inherited from XmlWriter.)
Public method WriteEndElement (Inherited from XmlTextWriter.)
Public method WriteEndElementAsync (Inherited from XmlWriter.)
Public method WriteEntityRef (Inherited from XmlTextWriter.)
Public method WriteEntityRefAsync (Inherited from XmlWriter.)
Public method WriteFullEndElement (Inherited from XmlTextWriter.)
Public method WriteFullEndElementAsync (Inherited from XmlWriter.)
Public method WriteName (Inherited from XmlTextWriter.)
Public method WriteNameAsync (Inherited from XmlWriter.)
Public method WriteNmToken (Inherited from XmlTextWriter.)
Public method WriteNmTokenAsync (Inherited from XmlWriter.)
Public method WriteNode (Inherited from XmlWriter.)
Public method WriteNode (Inherited from XmlWriter.)
Public method WriteNodeAsync (Inherited from XmlWriter.)
Public method WriteNodeAsync (Inherited from XmlWriter.)
Public method WriteProcessingInstruction (Inherited from XmlTextWriter.)
Public method WriteProcessingInstructionAsync (Inherited from XmlWriter.)
Public method WriteQualifiedName (Inherited from XmlTextWriter.)
Public method WriteQualifiedNameAsync (Inherited from XmlWriter.)
Public method WriteRaw (Inherited from XmlTextWriter.)
Public method WriteRaw (Inherited from XmlTextWriter.)
Public method WriteRawAsync (Inherited from XmlWriter.)
Public method WriteRawAsync (Inherited from XmlWriter.)
Public method WriteStartAttribute (Inherited from XmlWriter.)
Public method WriteStartAttribute (Inherited from XmlWriter.)
Public method WriteStartAttribute (Inherited from XmlTextWriter.)
Public method WriteStartDocument (Inherited from XmlTextWriter.)
Public method WriteStartDocument (Inherited from XmlTextWriter.)
Public method WriteStartDocumentAsync (Inherited from XmlWriter.)
Public method WriteStartDocumentAsync (Inherited from XmlWriter.)
Public method WriteStartElement Overloaded.
Public method WriteStartElementAsync (Inherited from XmlWriter.)
Public method WriteString
The reason why we are overriding this method is, we do not want the output to be encoded for texts inside attribute and inside node elements. For example, all the nbsp; gets converted to amp;nbsp in output. But this does not apply to HTML. In HTML, we need to have nbsp; as it is.
(Overrides XmlTextWriter..::WriteString(String).)
Public method WriteStringAsync (Inherited from XmlWriter.)
Public method WriteSurrogateCharEntity (Inherited from XmlTextWriter.)
Public method WriteSurrogateCharEntityAsync (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteValue (Inherited from XmlWriter.)
Public method WriteWhitespace (Overrides XmlTextWriter..::WriteWhitespace(String).)
Public method WriteWhitespaceAsync (Inherited from XmlWriter.)

Protected Methods

  Name Description
Protected method Dispose (Inherited from XmlWriter.)
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method WriteEndAttributeAsync (Inherited from XmlWriter.)
Protected method WriteStartAttributeAsync (Inherited from XmlWriter.)

See Also

Advanced