.NET Framework Class Library
XText.WriteTo Method
Writes this node to an XmlWriter.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Syntax
Visual Basic
Public Overrides Sub WriteTo ( _ writer As XmlWriter _ )
C#
public override void WriteTo( XmlWriter writer )
Visual C++
public: virtual void WriteTo( XmlWriter^ writer ) override
F#
abstract WriteTo : writer:XmlWriter -> unit override WriteTo : writer:XmlWriter -> unit
Parameters
- writer
- Type: System.Xml.XmlWriter
An XmlWriter into which this method will write.
Remarks
This method is primarily used internally by the methods that write an XML tree to an XmlWriter.
Version Information
.NET Framework
Supported in: 4, 3.5.NET Framework Client Profile
Supported in: 4, 3.5 SP1Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also