DoubleValue.Implicit Operator  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Implicit(Double to DoubleValue) | Initializes a new instance of the DoubleValue class by implicitly converting the supplied Double value. | 
| Implicit(DoubleValue to Double) | Implicitly converts the specified value to a Double value. | 
Implicit(Double to DoubleValue)
Initializes a new instance of the DoubleValue class by implicitly converting the supplied Double value.
public static implicit operator DocumentFormat.OpenXml.DoubleValue(double value);static member op_Implicit : double -> DocumentFormat.OpenXml.DoubleValuePublic Shared Widening Operator CType (value As Double) As DoubleValueParameters
Returns
A new DoubleValue instance with the value.
Applies to
Implicit(DoubleValue to Double)
Implicitly converts the specified value to a Double value.
public static implicit operator double(DocumentFormat.OpenXml.DoubleValue xmlAttribute);public static implicit operator double(DocumentFormat.OpenXml.DoubleValue value);static member op_Implicit : DocumentFormat.OpenXml.DoubleValue -> doublestatic member op_Implicit : DocumentFormat.OpenXml.DoubleValue -> doublePublic Shared Widening Operator CType (xmlAttribute As DoubleValue) As DoublePublic Shared Widening Operator CType (value As DoubleValue) As DoubleParameters
- xmlAttributevalue
- DoubleValue
Returns
The converted Double value.
Exceptions
Thrown when value is null.