Share via


DoubleValue.Implicit Operator

Definition

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

value
Double

The Double value.

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.

Applies to