Export (0) Print
Expand All

XmlTextWriter.WriteStartDocument Method

Writes the XML declaration with the version "1.0".

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method WriteStartDocument() Writes the XML declaration with the version "1.0". (Overrides XmlWriter.WriteStartDocument().)
Public method WriteStartDocument(Boolean) Writes the XML declaration with the version "1.0" and the standalone attribute. (Overrides XmlWriter.WriteStartDocument(Boolean).)
Top

Note 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:
© 2014 Microsoft