SByteValue.Implicit 运算符

定义

重载

Implicit(SByte to SByteValue)

将指定的 SByte 值隐式转换为 SByteValue 实例。

Implicit(SByteValue to SByte)

将指定的 SByteValue 隐式转换为 SByte 值。

Implicit(SByte to SByteValue)

将指定的 SByte 值隐式转换为 SByteValue 实例。

public static implicit operator DocumentFormat.OpenXml.SByteValue (sbyte value);
static member op_Implicit : sbyte -> DocumentFormat.OpenXml.SByteValue
Public Shared Widening Operator CType (value As SByte) As SByteValue

参数

value
SByte

指定的 SByte 值。

返回

具有 值的新 SByteValue 实例。

适用于

Implicit(SByteValue to SByte)

将指定的 SByteValue 隐式转换为 SByte 值。

public static implicit operator sbyte (DocumentFormat.OpenXml.SByteValue xmlAttribute);
public static implicit operator sbyte (DocumentFormat.OpenXml.SByteValue value);
static member op_Implicit : DocumentFormat.OpenXml.SByteValue -> sbyte
static member op_Implicit : DocumentFormat.OpenXml.SByteValue -> sbyte
Public Shared Widening Operator CType (xmlAttribute As SByteValue) As SByte
Public Shared Widening Operator CType (value As SByteValue) As SByte

参数

xmlAttributevalue
SByteValue

返回

转换后 SByte 的值。

例外

当 为 nullvalue引发。

适用于