语言

DoubleValue.Implicit 操作员

定义

重载

名称 说明
Implicit(Double to DoubleValue)

通过隐式转换所提供的Double值来初始化 类的新实例DoubleValue。

Implicit(DoubleValue to Double)

将指定的值隐式转换为 Double 值。

Implicit(Double to DoubleValue)

通过隐式转换所提供的Double值来初始化 类的新实例DoubleValue。

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

参数

value
Double

值 Double 。

返回

具有 值的新 DoubleValue 实例。

适用于

Implicit(DoubleValue to Double)

将指定的值隐式转换为 Double 值。

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

参数

xmlAttributevalue
DoubleValue

返回

转换后 Double 的值。

例外

当 为 null时value引发。

适用于