XElement Explicit Conversion (XElement to Int64)
[ 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 Int64.
| Exception | Condition |
|---|---|
| FormatException | The element does not contain a valid Int64 value. |
| ArgumentNullException | The element parameter is null. |
Show: