XmlWriter.WriteValue Method (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes a String value.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- value
- Type: System.String
The String value to write.
| Exception | Condition |
|---|---|
| ArgumentException | An invalid value was specified. |
If this method is called on an XmlWriter instance that outputs text-only, the typed value is serialized to text.
Show: