XmlWriter Class |
Namespace: System.Xml
public abstract class XmlWriter : IDisposable
The XmlWriter type exposes the following members.
Name | Description | |
---|---|---|
![]() | Close |
When overridden in a derived class, closes this stream and the underlying
stream.
|
![]() ![]() | Create |
Creates a new System.Xml.XmlWriter instance using the specified stream.
|
![]() | Dispose |
Releases all resources used by the current instance of the System.Xml.XmlWriter
class.
|
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the System.Xml.XmlWriter and optionally
releases the managed resources.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Flush |
When overridden in a derived class, flushes whatever is in the buffer to
the underlying streams and also flushes the underlying stream.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteAttributeString |
When overridden in a derived class, writes out the attribute with the specified
local name and value.
|
![]() | WriteElementString |
Writes an element with the specified local name and value.
|
![]() | WriteEndDocument |
When overridden in a derived class, closes any open elements or attributes
and puts the writer back in the Start state.
|
![]() | WriteEndElement |
When overridden in a derived class, closes one element and pops the corresponding
namespace scope.
|
![]() | WriteStartDocument |
When overridden in a derived class, writes the XML declaration with the version
"1.0".
|
![]() | WriteStartElement(String) |
When overridden in a derived class, writes out a start tag with the specified
local name.
|
![]() | WriteStartElement(String, String) |
When overridden in a derived class, writes the specified start tag and associates
it with the given namespace.
|
![]() | WriteString |
When overridden in a derived class, writes the given text content.
|