HtmlWriter methods
The HtmlWriter type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close | The Close() method closes the HtmlWriter instance and releases any resources used by the instance. | |
Dispose() | Releases the resources used by the current instance of the HtmlWriter class. | |
Dispose(Boolean) | The Dispose(Boolean) method disposes of the HtmlWriter instance. | |
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. | |
WriteAttribute(HtmlAttributeReader) | The WriteAttribute(HtmlAttributeReader) method writes an HTML attribute to the output stream. | |
WriteAttribute(String, String) | The WriteAttribute method writes an attribute with the specified name and value. | |
WriteAttribute(HtmlAttributeId, String) | The WriteAttribute writes the attribute specified by an HtmlAttributeId enumeration value. | |
WriteAttribute(String, [], Int32, Int32) | The WriteAttribute method reads an attribute value from a buffer and writes it to the output with a name specified by the name parameter. | |
WriteAttribute(HtmlAttributeId, [], Int32, Int32) | The WriteAttribute method reads an attribute value from a buffer and writes it to the output with the name specified by the id parameter. | |
WriteAttributeName(String) | The WriteAttributeName method writes the specified attribute name to the output. | |
WriteAttributeName(HtmlAttributeId) | The WriteAttributeName method writes the attribute name identified by id to the output. | |
WriteAttributeName(HtmlAttributeReader) | The WriteAttributeName(HtmlAttributeReader) method writes an attribute name to the HTML output stream. | |
WriteAttributeValue(String) | The WriteAttributeValue method writes an attribute value to the output. | |
WriteAttributeValue(HtmlAttributeReader) | The WriteAttributeValue(HtmlAttributeReader) method writes an attribute value to the HTML output stream. | |
WriteAttributeValue([], Int32, Int32) | The WriteAttributeValue method reads an attribute value from a buffer and writes it to the output. | |
WriteEmptyElementTag(String) | The WriteEmptyElementTag method writes an empty element tag to the output. | |
WriteEmptyElementTag(HtmlTagId) | The WriteEmptyElementTag method writes the empty element tag identified by id to the output. | |
WriteEndTag(String) | The WriteEndTag method writes an end tag to the output. | |
WriteEndTag(HtmlTagId) | The WriteEndTag method writes the end tag identified by id to the output. | |
WriteMarkupText(String) | The WriteMarkupText method writes a string containing HTML markup directly to the output, without escaping special characters. | |
WriteMarkupText(HtmlReader) | The WriteMarkupText(HtmlReader) method copies the original content of an HTML element and writes it to the HTML output stream. | |
WriteMarkupText([], Int32, Int32) | The WriteMarkupText method reads HTML from a buffer and writes it directly to the output, without escaping special characters. | |
WriteStartTag(String) | The WriteStartTag method writes a start tag to the output. | |
WriteStartTag(HtmlTagId) | The WriteStartTag method writes the start tag identified by id to the output. | |
WriteTag | The WriteTag(HtmlReader) method copies an HTML element, including attributes, to the HTML output stream. | |
WriteText(String) | The WriteText method writes text to the output. | |
WriteText(HtmlReader) | The WriteText(HtmlReader) method writes the text content of an HTML element to the HTML output stream. | |
WriteText([], Int32, Int32) | The WriteText method reads text from a buffer and writes it to the output. |
Top