XmlTextWriter::WriteStartDocument Method
.NET Framework (current version)
Writes the XML declaration with the version "1.0".
Assembly: System.Xml (in System.Xml.dll)
| Name | Description | |
|---|---|---|
![]() | WriteStartDocument() | Writes the XML declaration with the version "1.0".(Overrides XmlWriter::WriteStartDocument().) |
![]() | WriteStartDocument(Boolean) | Writes the XML declaration with the version "1.0" and the standalone attribute.(Overrides XmlWriter::WriteStartDocument(Boolean).) |
Note |
|---|
Starting with the .NET Framework 2.0, we recommend that you create XmlWriter instances by using the XmlWriter::Create method and the XmlWriterSettings class to take advantage of new functionality. |
Show:

