Gets the underlying stream used by the writer.
A System.IO.Stream, or null if the current instance does not use an underlying stream.
This property is read-only.
If the current instance was constructed using a System.IO.TextWriter that is a subclass of the System.IO.StreamWriter class, this property is equivalent to the System.IO.StreamWriter.BaseStream property.
If the writer was constructed using a System.IO.Stream, this property returns the Stream passed to the constructor.
If the writer was constructed using a file name, this property returns the Stream representing the file.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0