Export (0) Print
Expand All

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 following tables list the members exposed by the XmlTextWriter type.

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

  Name Description
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 Overridden. Gets the state of the writer.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework XmlLang Overridden. Gets the current xml:lang scope.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework XmlSpace Overridden. Gets an XmlSpace representing the current xml:space scope.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Close Overridden. Closes this stream and the underlying stream.
Public method Static Supported by the .NET Compact Framework Create  Overloaded. Creates a new XmlWriter instance. (inherited from XmlWriter)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Flush Overridden. Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
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 Overridden. Returns the closest prefix defined in the current namespace scope for the namespace URI.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (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. (inherited from XmlWriter)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteBase64 Overridden. Encodes the specified binary bytes as base64 and writes out the resulting text.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteBinHex Overridden. Encodes the specified binary bytes as binhex and writes out the resulting text.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteCData Overridden. Writes out a <![CDATA[...]]> block containing the specified text.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteCharEntity Overridden. Forces the generation of a character entity for the specified Unicode character value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteChars Overridden. Writes text one buffer at a time.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteComment Overridden. Writes out a comment <!--...--> containing the specified text.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteDocType Overridden. Writes the DOCTYPE declaration with the specified name and optional attributes.
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. (inherited from XmlWriter)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteEndAttribute Overridden. Closes the previous WriteStartAttribute call.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteEndDocument Overridden. Closes any open elements or attributes and puts the writer back in the Start state.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteEndElement Overridden. Closes one element and pops the corresponding namespace scope.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteEntityRef Overridden. Writes out an entity reference as &name;.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteFullEndElement Overridden. Closes one element and pops the corresponding namespace scope.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteName Overridden. 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).
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteNmToken Overridden. 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).
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. (inherited from XmlWriter)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteProcessingInstruction Overridden. Writes out a processing instruction with a space between the name and text as follows: <?name text?>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteQualifiedName Overridden. Writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteRaw Overloaded. Overridden. 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. Overridden. 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 Overridden. Writes the given text content.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteSurrogateCharEntity Overridden. Generates and writes the surrogate character entity for the surrogate character pair.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteValue  Overloaded. Writes a single simple-typed value. (inherited from XmlWriter)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteWhitespace Overridden. Writes out the given white space.
Top

  Name Description
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)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
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)
Top

Community Additions

ADD
Show:
© 2014 Microsoft