Click or drag to resize
XmlWriter Methods

The XmlWriter type exposes the following members.

Methods
  NameDescription
Public methodClose
When overridden in a derived class, closes this stream and the underlying stream.
Public methodStatic memberCreate
Creates a new System.Xml.XmlWriter instance using the specified stream.
Public methodDispose
Releases all resources used by the current instance of the System.Xml.XmlWriter class.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the System.Xml.XmlWriter and optionally releases the managed resources.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFlush
When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteAttributeString
When overridden in a derived class, writes out the attribute with the specified local name and value.
Public methodWriteElementString
Writes an element with the specified local name and value.
Public methodWriteEndDocument
When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state.
Public methodWriteEndElement
When overridden in a derived class, closes one element and pops the corresponding namespace scope.
Public methodWriteStartDocument
When overridden in a derived class, writes the XML declaration with the version "1.0".
Public methodWriteStartElement(String)
When overridden in a derived class, writes out a start tag with the specified local name.
Public methodWriteStartElement(String, String)
When overridden in a derived class, writes the specified start tag and associates it with the given namespace.
Public methodWriteString
When overridden in a derived class, writes the given text content.
Top
See Also