Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
XmlTextWriter Members
Collapse the table of content
Expand the table of content

XmlTextWriter Members

Represents a writer that provides a fast, non-cached, forward-only way of generating streams or files containing XML data that conforms to the W3C Extensible Markup Language (XML) 1.0 and the Namespaces in XML recommendations.

The XmlTextWriter type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework XmlTextWriter Overloaded. Creates an instance of the XmlTextWriter class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Close Closes this stream and the underlying stream. (Overrides XmlWriter.Close().)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Releases the unmanaged resources used by the XmlWriter and optionally releases the managed resources. (Inherited from XmlWriter.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework Flush Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. (Overrides XmlWriter.Flush().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework LookupPrefix Returns the closest prefix defined in the current namespace scope for the namespace URI. (Overrides XmlWriter.LookupPrefix(String).)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteAttributes When overridden in a derived class, writes out all the attributes found at the current position in the XmlReader. (Inherited from XmlWriter.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteAttributeString Overloaded. When overridden in a derived class, writes an attribute with the specified value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteBase64 Encodes the specified binary bytes as base64 and writes out the resulting text. (Overrides XmlWriter.WriteBase64(Byte[], Int32, Int32).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteBinHex Encodes the specified binary bytes as binhex and writes out the resulting text. (Overrides XmlWriter.WriteBinHex(Byte[], Int32, Int32).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteCData Writes out a <![CDATA[...]]> block containing the specified text. (Overrides XmlWriter.WriteCData(String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteCharEntity Forces the generation of a character entity for the specified Unicode character value. (Overrides XmlWriter.WriteCharEntity(Char).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteChars Writes text one buffer at a time. (Overrides XmlWriter.WriteChars(Char[], Int32, Int32).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteComment Writes out a comment <!--...--> containing the specified text. (Overrides XmlWriter.WriteComment(String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteDocType Writes the DOCTYPE declaration with the specified name and optional attributes. (Overrides XmlWriter.WriteDocType(String, String, String, String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteElementString Overloaded. When overridden in a derived class, writes an element containing a string value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteEndAttribute Closes the previous WriteStartAttribute call. (Overrides XmlWriter.WriteEndAttribute().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteEndDocument Closes any open elements or attributes and puts the writer back in the Start state. (Overrides XmlWriter.WriteEndDocument().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteEndElement Closes one element and pops the corresponding namespace scope. (Overrides XmlWriter.WriteEndElement().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteEntityRef Writes out an entity reference as &name;. (Overrides XmlWriter.WriteEntityRef(String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteFullEndElement Closes one element and pops the corresponding namespace scope. (Overrides XmlWriter.WriteFullEndElement().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteName 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). (Overrides XmlWriter.WriteName(String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteNmToken Writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (Overrides XmlWriter.WriteNmToken(String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteNode Overloaded. Copies everything from the source object to the current writer instance.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteProcessingInstruction Writes out a processing instruction with a space between the name and text as follows: <?name text?>. (Overrides XmlWriter.WriteProcessingInstruction(String, String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteQualifiedName Writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace. (Overrides XmlWriter.WriteQualifiedName(String, String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteRaw Overloaded. Writes raw markup manually.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteStartAttribute Overloaded. Writes the start of an attribute.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteStartDocument Overloaded. Writes the XML declaration with the version "1.0".
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteStartElement Overloaded. Writes the specified start tag.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteString Writes the given text content. (Overrides XmlWriter.WriteString(String).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteSurrogateCharEntity Generates and writes the surrogate character entity for the surrogate character pair. (Overrides XmlWriter.WriteSurrogateCharEntity(Char, Char).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteValue Overloaded. Writes a single simple-typed value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteWhitespace Writes out the given white space. (Overrides XmlWriter.WriteWhitespace(String).)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework BaseStream Gets the underlying stream object.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Formatting Indicates how the output is formatted.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Indentation Gets or sets how many IndentChars to write for each level in the hierarchy when Formatting is set to Formatting.Indented.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IndentChar Gets or sets which character to use for indenting when Formatting is set to Formatting.Indented.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Namespaces Gets or sets a value indicating whether to do namespace support.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework QuoteChar Gets or sets which character to use to quote attribute values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Settings Gets the XmlWriterSettings object used to create this XmlWriter instance. (Inherited from XmlWriter.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework WriteState Gets the state of the writer. (Overrides XmlWriter.WriteState.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework XmlLang Gets the current xml:lang scope. (Overrides XmlWriter.XmlLang.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework XmlSpace Gets an XmlSpace representing the current xml:space scope. (Overrides XmlWriter.XmlSpace.)
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IDisposable.Dispose For a description of this member, see IDisposable.Dispose. (Inherited from XmlWriter.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft