The members of System.Xml.XmlTextWriter are listed below.
See Also: Inherited members from System.Xml.XmlWriter
| Constructs and initializes a new instance of the System.Xml.XmlTextWriter class. | ||
| Constructs and initializes a new instance of the System.Xml.XmlTextWriter class using the specified output stream. | ||
| Constructs and initializes a new instance of the System.Xml.XmlTextWriter class using the specified file. |
| [read-only] | BaseStream | System.IO.Stream. Gets the underlying stream used by the writer. |
| Formatting | Formatting. Indicates how the output is formatted. | |
| Indentation | int. Gets or sets how many indentation characters to write for each level in the hierarchy when XmlTextWriter.Formatting is set to Formatting.Indented. | |
| IndentChar | char. Gets or sets the character to use for indenting when XmlTextWriter.Formatting is set to Formatting.Indented. | |
| Namespaces | bool. Gets or sets a value indicating whether the writer supports namespaces. | |
| QuoteChar | char. Gets or sets the character used to quote the value of an attribute. | |
| [read-only] override | WriteState | WriteState. Gets the write state of the writer. |
| [read-only] override | XmlLang | string. Gets the language attribute, xml:lang, specifying the language in which the content and attribute values of the current element are written. |
| [read-only] override | XmlSpace | XmlSpace. Gets the white space attribute, xml:space, specifying how white space is handled in the current element. |
override | Close()Closes the writer. | |
override | Flush()Clears all buffers and causes any buffered data to be written to the underlying stream. | |
override | LookupPrefix(string)Returns the prefix defined in the current namespace scope for the specified namespace URI. | |
override | WriteBase64(byte[], int, int)Encodes the specified binary bytes as Base64 and writes the resulting text. | |
override | WriteBinHex(byte[], int, int)Encodes the specified binary bytes as BinHex and writes the resulting text. | |
override | WriteCData(string)Writes out a CDATA block containing the specified text. | |
override | WriteCharEntity(char)Forces the generation of a character entity for the specified Unicode character value. | |
override | WriteChars(char[], int, int)Writes text a buffer at a time. | |
override | WriteComment(string)Writes out a comment containing the specified text. | |
override | WriteDocType(string, string, string, string)Writes the document type declaration with the specified name and optional attributes. | |
override | WriteEndAttribute()Closes the attribute started with the XmlTextWriter.WriteStartAttribute(string, string, string) method. | |
override | WriteEndDocument()Closes open elements and attributes and sets the XmlTextWriter.WriteState back to the WriteState.Start state. | |
override | WriteEndElement()Closes an open element and pops the corresponding namespace scope. | |
override | WriteEntityRef(string)Writes an entity reference with the specified name. | |
override | WriteFullEndElement()Closes an open element and pops the corresponding namespace scope. | |
override | WriteName(string)Writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). | |
override | WriteNmToken(string)Writes out the specified name, ensuring it is a valid name token (Nmtoken) according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). | |
override | WriteProcessingInstruction(string, string)Writes out a processing instruction with the specified name and text. | |
override | WriteQualifiedName(string, string)Writes out the qualified name. | |
override | WriteRaw(string)Writes raw text from a string. | |
override | WriteRaw(char[], int, int)Writes raw text from a character array. | |
override | WriteStartAttribute(string, string, string)Writes the start of an attribute with the specified prefix and name, and associates the prefix with the specified namespace URI. | |
override | WriteStartDocument()Writes the XML declaration with the version "1.0" and no standalone attribute. | |
override | WriteStartDocument(bool)Writes the XML declaration with the version "1.0" and the standalone attribute. | |
override | WriteStartElement(string, string, string)Writes a start element with the specified name, and associates it with the given namespace and prefix. | |
override | WriteString(string)Writes the specified text. | |
override | WriteSurrogateCharEntity(char, char)Generates and writes the surrogate character entity for the surrogate character pair. | |
override | WriteWhitespace(string)Writes the given white space. | |