XmlWriter.WriteWhitespace Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, writes out the given white space.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- ws
- Type: System.String
The string of white space characters.
| Exception | Condition |
|---|---|
| ArgumentException | The string contains non-white space characters. |
Show: