NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlTextReader.Close

Closes the stream, changes the ReadState to Closed, and sets all the properties back to zero.

[Visual Basic]
Overrides Public Sub Close()
[C#]
public override void Close();
[C++]
public: override void Close();
[JScript]
public override function Close();

Remarks

This method also releases any resources held while reading. This method also calls Close on the underlying streams provided in the XmlReader constructor.

If Close has already been called, no action is performed.

See Also

XmlTextReader Class | XmlTextReader Members | System.NewXml Namespace