System.Xml.XmlWriter.Create Method

Creates a new System.Xml.XmlWriter instance using the filename and System.Xml.XmlWriterSettings object.

Syntax

public static XmlWriter Create (string outputFileName, XmlWriterSettings settings)

Parameters

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.
settings
The System.Xml.XmlWriterSettings object used to configure the new System.Xml.XmlWriter instance. If this is null, a System.Xml.XmlWriterSettings with default settings is used.

Returns

An System.Xml.XmlWriter object.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0