DoubleValue Implicit Conversion (DoubleValue to Double)
Implicit converter to Double.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
xmlAttribute As DoubleValue _
) As Double
'Usage
Dim input As DoubleValue
Dim output As Double
output = CType(input, Double)
public static implicit operator double (
DoubleValue xmlAttribute
)
Parameters
- xmlAttribute
Type: DocumentFormat.OpenXml.DoubleValue
The DoubleValue to be converted.
Return Value
Type: System.Double
The internal Double value.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when "xmlAttribute" is null. |