WriteContentTo Method
Collapse the table of content
Expand the table of content

XmlCDataSection.WriteContentTo Method (XmlWriter)

 

Saves the children of the node to the specified XmlWriter.

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

public override void WriteContentTo(
	XmlWriter w
)

Parameters

w
Type: System.Xml.XmlWriter

The XmlWriter to which you want to save.

Because CDATA nodes do not have children, WriteContentTo has no effect.

This method is a Microsoft extension to the Document Object Model (DOM).

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