IntegerValue.Implicit 运算符

定义

重载

Implicit(Int64 to IntegerValue)

将指定的 Int64 值隐式转换为 IntegerValue 类。

Implicit(IntegerValue to Int64)

将指定的 IntegerValue 隐式转换为 Int64 值。

Implicit(Int64 to IntegerValue)

将指定的 Int64 值隐式转换为 IntegerValue 类。

public static implicit operator DocumentFormat.OpenXml.IntegerValue (long value);
static member op_Implicit : int64 -> DocumentFormat.OpenXml.IntegerValue
Public Shared Widening Operator CType (value As Long) As IntegerValue

参数

value
Int64

指定的值。

返回

具有 值的新 IntegerValue 实例。

适用于

Implicit(IntegerValue to Int64)

将指定的 IntegerValue 隐式转换为 Int64 值。

public static implicit operator long (DocumentFormat.OpenXml.IntegerValue xmlAttribute);
public static implicit operator long (DocumentFormat.OpenXml.IntegerValue value);
static member op_Implicit : DocumentFormat.OpenXml.IntegerValue -> int64
static member op_Implicit : DocumentFormat.OpenXml.IntegerValue -> int64
Public Shared Widening Operator CType (xmlAttribute As IntegerValue) As Long
Public Shared Widening Operator CType (value As IntegerValue) As Long

参数

xmlAttributevalue
IntegerValue

返回

转换后 Int64 的值。

例外

当 为 nullvalue引发。

适用于