Close this stream and the underlying stream.
[Visual Basic] MustOverride Public Sub Close() [C#] public abstract void Close(); [C++] public: virtual void Close() = 0; [JScript] public abstract function Close();
Once this method is called, an InvalidOperationException is thrown if any call is made to write more output.
XmlWriter Class | XmlWriter Members | System.NewXml Namespace