.NET Framework Class Library
XmlTextWriter..::.WriteStartDocument Method

Writes the XML declaration with the version "1.0".

Overload List

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteStartDocument()()()Writes the XML declaration with the version "1.0". (Overrides XmlWriter..::.WriteStartDocument()()().)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteStartDocument(Boolean)Writes the XML declaration with the version "1.0" and the standalone attribute. (Overrides XmlWriter..::.WriteStartDocument(Boolean).)
Top
Remarks

NoteNote:

In the .NET Framework version 2.0 release, the recommended practice is to create XmlWriter instances using the XmlWriter..::.Create method and the XmlWriterSettings class. This allows you to take full advantage of all the new features introduced in this release. For more information, see Creating XML Writers.

See Also

Reference

Tags :


Page view tracker