Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlDeclaration::WriteTo Method (XmlWriter^)

 

Saves the node to the specified XmlWriter.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public:
virtual void WriteTo(
	XmlWriter^ w
) override

Parameters

w
Type: System.Xml::XmlWriter^

The XmlWriter to which you want to save.

The value of the encoding and standalone attributes are determined by the Encoding and Standalone properties. If either of the properties is not set, the corresponding attribute is not written. The version attribute is always written out with a value of 1.0.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft