System.Xml.XmlNode.WriteContentTo Method

Saves all the child nodes of the node to the specified System.Xml.XmlWriter, when overridden in a derived class.

Syntax

public abstract void WriteContentTo (XmlWriter w)

Parameters

w
The XmlWriter to which you want to save.

Remarks

This method is a Microsoft extension to the Document Object Model (DOM). It is functionally equivalent to the XmlNode.InnerXml property.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0