XElement Narrowing Conversion (XElement to Double)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- element
- Type: System.Xml.Linq.XElement
The XElement to cast to Double.
| Exception | Condition |
|---|---|
| FormatException | The element does not contain a valid Double value. |
| ArgumentNullException | The element parameter is Nothing. |
Show: