This documentation is archived and is not being maintained.

XmlComment.WriteContentTo Method

Saves all the children of the node to the specified XmlWriter. Because comment nodes do not have children this method has no effect.

[Visual Basic]
Overrides Public Sub WriteContentTo( _
   ByVal w As XmlWriter _
)
[C#]
public override void WriteContentTo(
 XmlWriter w
);
[C++]
public: void WriteContentTo(
 XmlWriter* w
);
[JScript]
public override function WriteContentTo(
   w : XmlWriter
);

Parameters

w
The XmlWriter to which you want to save. Because comment nodes do not have children this method has no effect.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

XmlComment Class | XmlComment Members | System.Xml Namespace

Show: