XElement Explicit Conversion (XElement to Double)
This API is not CLS-compliant. Namespace: System.Xml.Linq
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 null. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.