This documentation is archived and is not being maintained.
XmlWriter::Create Method
Visual Studio 2010
Creates a new XmlWriter instance.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Create(Stream) | Creates a new XmlWriter instance using the specified stream. |
|
Create(String) | Creates a new XmlWriter instance using the specified filename. |
|
Create(StringBuilder) | Creates a new XmlWriter instance using the specified StringBuilder. |
|
Create(TextWriter) | Creates a new XmlWriter instance using the specified TextWriter. |
|
Create(XmlWriter) | Creates a new XmlWriter instance using the specified XmlWriter object. |
|
Create(Stream, XmlWriterSettings) | Creates a new XmlWriter instance using the stream and XmlWriterSettings object. |
|
Create(String, XmlWriterSettings) | Creates a new XmlWriter instance using the filename and XmlWriterSettings object. |
|
Create(StringBuilder, XmlWriterSettings) | Creates a new XmlWriter instance using the StringBuilder and XmlWriterSettings objects. |
|
Create(TextWriter, XmlWriterSettings) | Creates a new XmlWriter instance using the TextWriter and XmlWriterSettings objects. |
|
Create(XmlWriter, XmlWriterSettings) | Creates a new XmlWriter instance using the specified XmlWriter and XmlWriterSettings objects. |
Although the Microsoft .NET Framework includes the XmlTextWriter class, which is a concrete implementation of the XmlWriter class, in the 2.0 release the recommended practice is to create XmlWriter instances using the Create method. For more information, see Creating XML Writers.
Show: