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!

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

[Visual Basic] Overloads MustOverride Public Sub WriteXmlDecl()
[C#] public abstract void WriteXmlDecl();
[C++] public: virtual void WriteXmlDecl() = 0;
[JScript] public abstract function WriteXmlDecl();

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

[Visual Basic] Overloads MustOverride Public Sub WriteXmlDecl(Boolean)
[C#] public abstract void WriteXmlDecl(bool);
[C++] public: virtual void WriteXmlDecl(bool) = 0;
[JScript] public abstract function WriteXmlDecl(Boolean);

See Also

XmlWriter Class | XmlWriter Members | System.NewXml Namespace