XmlWriter.Create Method (String, XmlWriterSettings)
Assembly: System.Xml (in System.Xml.dll)
static member Create : outputFileName:string * settings:XmlWriterSettings -> XmlWriter
The file to which you want to write. The 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.
If the XmlWriter is being used with the Transform method, you should use the OutputSettings property to obtain an XmlWriterSettings object with the correct settings. This ensures that the created XmlWriter object has the correct output settings.
Available since 2.0