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.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- writer
- Type: System.Xml.XmlWriter
An XmlWriter into which this method will write.
| Exception | Condition |
|---|---|
| ArgumentNullException | writer is Nothing. |
This method is primarily used internally by the methods that write an XML tree to an XmlWriter.
Show: