Creates a new System.Xml.XmlWriter instance using the specified filename.
- outputFileName
- The file to which you want to write. The System.Xml.XmlWriter creates a file at the specified path and writes to it in XML 1.0 text syntax. The outputFileName must be a file system path.
An System.Xml.XmlWriter object.
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.