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.DoubleValue
Public Shared Widening Operator CType (value As Double) As DoubleValue
Parameters
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 -> double
static member op_Implicit : DocumentFormat.OpenXml.DoubleValue -> double
Public Shared Widening Operator CType (xmlAttribute As DoubleValue) As Double
Public Shared Widening Operator CType (value As DoubleValue) As Double
Parameters
- xmlAttributevalue
- DoubleValue
Returns
The converted Double value.
Exceptions
Thrown when value
is null
.