This documentation is archived and is not being maintained.

XmlAttribute.WriteContentTo Method

Saves all the children of the node to the specified XmlWriter.

[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.

Remarks

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

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

XmlAttribute Class | XmlAttribute Members | System.Xml Namespace

Show: