XmlDeclaration.WriteTo Method (XmlWriter)

 

Saves the node to the specified XmlWriter.

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

public override void WriteTo(
	XmlWriter w
)

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: