XmlWriter.Create Method (XmlWriter, XmlWriterSettings)
Assemblies: System.Xml (in System.Xml.dll)
System.Xml.ReaderWriter (in System.Xml.ReaderWriter.dll)
public static XmlWriter Create( XmlWriter output, XmlWriterSettings settings )
- Type: System.Xml.XmlWriterSettings
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.