DoubleValue.Implicit 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
返回
具有 值的新 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
引发。