XmlConvert.ToBoolean 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 to convert.
| Exception | Condition |
|---|---|
| NullReferenceException | s is null. |
| FormatException | s does not represent a Boolean value. |
Show: