Mono Class Library: System.Xml.XmlWriter Overview | Members

System.Xml.XmlWriter.Close Method

Closes the writer. [Edit]

public abstract void Close ()

Remarks

Operation

This method closes any remaining open elements or attributes.

This method calls the XmlWriter.Flush method to flush the underlying buffered stream and then closes the stream.

This method sets the XmlWriter.WriteState to WriteState.Closed.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0