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

System.Xml.XmlReader.Close Method

Changes the XmlReader.ReadState to ReadState.Closed. [Edit]

public abstract void Close ()

Remarks

Operation
This method releases any resources allocated by the current instance, changes the XmlReader.ReadState to ReadState.Closed, and calls the Close method of any underlying System.IO.Stream or System.IO.TextReader instance.

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