Partager via


HtmlWriter Members

The HtmlWriter class provides methods that allow you to easily write HTML tags, HTML attribute, and text to an output HTML document.

The following tables list the members exposed by the HtmlWriter type.

Public Constructors

  Name Description
HtmlWriter Overloaded. The HtmlWriter constructor overloads create new HtmlWriter objects.

Top

Public Properties

  Name Description
Aa579274.pubproperty(en-us,EXCHG.80).gif WriterState The WriterState property gets an HtmlWriterState enumeration value that indicates what the writer can next write.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa579274.pubmethod(en-us,EXCHG.80).gif Equals  Overloaded. (inherited from Object )
Aa579274.pubmethod(en-us,EXCHG.80).gif Flush The Flush method clears all buffers for this HtmlWriter and causes any buffered data to be written to the destination TextWriter object or Stream object that it owns.
Aa579274.pubmethod(en-us,EXCHG.80).gif GetHashCode  (inherited from Object )
Aa579274.pubmethod(en-us,EXCHG.80).gif GetType  (inherited from Object )
Aa579274.pubmethod(en-us,EXCHG.80).gifAa579274.static(en-us,EXCHG.80).gif ReferenceEquals  (inherited from Object )
Aa579274.pubmethod(en-us,EXCHG.80).gif ToString  (inherited from Object )
Aa579274.pubmethod(en-us,EXCHG.80).gif WriteAttribute Overloaded. The WriteAttribute method overloads write complete attributes to the output.
Aa579274.pubmethod(en-us,EXCHG.80).gif WriteAttributeName Overloaded. The WriteAttributeName method overloads write attribute names to the output.
Aa579274.pubmethod(en-us,EXCHG.80).gif WriteAttributeValue Overloaded. The WriteAttributeValue method overloads write attribute values to the current attribute in the output.
Aa579274.pubmethod(en-us,EXCHG.80).gif WriteEmptyElementTag Overloaded. The WriteEmptyElementTag method overloads write empty element tags to the output.
Aa579274.pubmethod(en-us,EXCHG.80).gif WriteEndTag Overloaded. The WriteEndTag method overloads write end tags to the output.
Aa579274.pubmethod(en-us,EXCHG.80).gif WriteMarkupText Overloaded. The WriteMarkupText method overloads write HTML markup directly to the output.
Aa579274.pubmethod(en-us,EXCHG.80).gif WriteStartTag Overloaded. The WriteStartTag method overloads write HTML start tags to the output.
Aa579274.pubmethod(en-us,EXCHG.80).gif WriteText Overloaded. The WriteText method overloads write text to the output.

Top

Protected Methods

  Name Description
Aa579274.protmethod(en-us,EXCHG.80).gif Finalize  (inherited from Object )
Aa579274.protmethod(en-us,EXCHG.80).gif MemberwiseClone  (inherited from Object )

Top

Explicit Interface Implementations

  Name Description
System.IDisposable.Dispose Releases all resources used by the HtmlWriter.

Top