This documentation is archived and is not being maintained.

XmlWriter.Create Method

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.

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(Stream) Creates a new XmlWriter instance using the specified stream.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(TextWriter) Creates a new XmlWriter instance using the specified TextWriter.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(String) Creates a new XmlWriter instance using the specified filename.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(StringBuilder) Creates a new XmlWriter instance using the specified StringBuilder.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(XmlWriter) Creates a new XmlWriter instance using the specified XmlWriter object.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(Stream, XmlWriterSettings) Creates a new XmlWriter instance using the stream and XmlWriterSettings object.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(TextWriter, XmlWriterSettings) Creates a new XmlWriter instance using the TextWriter and XmlWriterSettings objects.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(String, XmlWriterSettings) Creates a new XmlWriter instance using the filename and XmlWriterSettings object.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(StringBuilder, XmlWriterSettings) Creates a new XmlWriter instance using the StringBuilder and XmlWriterSettings objects.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Create(XmlWriter, XmlWriterSettings) Creates a new XmlWriter instance using the specified XmlWriter and XmlWriterSettings objects.
Top

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: