Creates a new System.Xml.XmlWriter instance using the specified System.Xml.XmlWriter object.
- output
- The System.Xml.XmlWriter object that you want to use as the underlying writer.
An System.Xml.XmlWriter object that is wrapped around the specified System.Xml.XmlWriter object.
This method allows you add features to an underlying System.Xml.XmlWriter object. The underlying System.Xml.XmlWriter object can be an object created by the erload:System.Xml.XmlWriter.Create method, or an object created using the System.Xml.XmlTextWriter implementation.
When you use this overload, an System.Xml.XmlWriterSettings object with default settings is used to create the XML writer.
If you want to specify the features to support on the created XML writer, use an overload that takes an System.Xml.XmlWriterSettings object as one of its arguments, and pass in a System.Xml.XmlWriterSettings object with your custom settings.