WriteTo Method

XComment.WriteTo Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Write this comment to an XmlWriter.

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

'Declaration
Public Overrides Sub WriteTo ( _
	writer As XmlWriter _
)

Parameters

writer
Type: System.Xml.XmlWriter
An XmlWriter into which this method will write.

ExceptionCondition
ArgumentNullException

writer is Nothing.

This method is primarily used internally by the methods that write an XML tree to an XmlWriter.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft