Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
XmlTextWriter Class
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
XmlTextWriter..::.WriteStartDocument Method

Writes the XML declaration with the version "1.0".

  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
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker