XmlWriter.WriteValue Method (Object)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes the object value.
Assembly: System.Xml (in System.Xml.dll)
If this method is called on an XmlWriter instance that outputs text-only, the typed value is serialized to text.