SingleValue.Implicit 操作员  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| Implicit(Single to SingleValue) | 将指定的 Single 值隐式转换为 SingleValue 对象。 | 
| Implicit(SingleValue to Single) | 将指定的 SingleValue 对象隐式转换为 Single 值。 | 
Implicit(Single to SingleValue)
将指定的 Single 值隐式转换为 SingleValue 对象。
public static implicit operator DocumentFormat.OpenXml.SingleValue(float value);static member op_Implicit : single -> DocumentFormat.OpenXml.SingleValuePublic Shared Widening Operator CType (value As Single) As SingleValue参数
- value
- Single
指定的值。
返回
具有 值的新 SingleValue 实例。
适用于
Implicit(SingleValue to Single)
将指定的 SingleValue 对象隐式转换为 Single 值。
public static implicit operator float(DocumentFormat.OpenXml.SingleValue xmlAttribute);public static implicit operator float(DocumentFormat.OpenXml.SingleValue value);static member op_Implicit : DocumentFormat.OpenXml.SingleValue -> singlestatic member op_Implicit : DocumentFormat.OpenXml.SingleValue -> singlePublic Shared Widening Operator CType (xmlAttribute As SingleValue) As SinglePublic Shared Widening Operator CType (value As SingleValue) As Single参数
- xmlAttributevalue
- SingleValue
返回
转换后 Single 的值。
例外
当 为 null时value引发。