XmlConvert.ToChar Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Assembly: System.Xml (in System.Xml.dll)
Parameters
- s
- Type: System.String
The string containing a single character to convert.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value of the s parameter is null. |
| FormatException | The s parameter contains more than one character. |
Show: