NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlTextWriter.WriteXmlDecl

Writes out the XML declaration. A call to one of the WriteXmlDecl methods must be first write call.

Overload List

Writes out the XML declaration with the version "1.0" with specified standalone attribute.

[Visual Basic] Overloads Overrides Public Sub WriteXmlDecl(Boolean)
[C#] public override void WriteXmlDecl(bool);
[C++] public: override void WriteXmlDecl(bool);
[JScript] public override function WriteXmlDecl(Boolean);

Writes out the XML declaration with the version "1.0".

[Visual Basic] Overloads Overrides Public Sub WriteXmlDecl()
[C#] public override void WriteXmlDecl();
[C++] public: override void WriteXmlDecl();
[JScript] public override function WriteXmlDecl();

See Also

XmlTextWriter Class | XmlTextWriter Members | System.NewXml Namespace