XmlConvert.ToDouble 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 is not in the correct format. |
| OverflowException | s represents a number less than Double.MinValue or greater than Double.MaxValue. |
Show: