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!

XmlReader.Close

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

[Visual Basic]
MustOverride Public Sub Close()
[C#]
public abstract void Close();
[C++]
public: virtual void Close() = 0;
[JScript]
public abstract 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

XmlReader Class | XmlReader Members | System.NewXml Namespace