Share via


ByteValue.Implicit 运算符

定义

重载

Implicit(Byte to ByteValue)

通过隐式转换所提供的Byte值来初始化 类的新实例ByteValue

Implicit(ByteValue to Byte)

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

Implicit(Byte to ByteValue)

通过隐式转换所提供的Byte值来初始化 类的新实例ByteValue

public static implicit operator DocumentFormat.OpenXml.ByteValue (byte value);
static member op_Implicit : byte -> DocumentFormat.OpenXml.ByteValue
Public Shared Widening Operator CType (value As Byte) As ByteValue

参数

value
Byte

Byte

返回

具有 值的新 ByteValue 实例。

适用于

Implicit(ByteValue to Byte)

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

public static implicit operator byte (DocumentFormat.OpenXml.ByteValue xmlAttribute);
public static implicit operator byte (DocumentFormat.OpenXml.ByteValue value);
static member op_Implicit : DocumentFormat.OpenXml.ByteValue -> byte
static member op_Implicit : DocumentFormat.OpenXml.ByteValue -> byte
Public Shared Widening Operator CType (xmlAttribute As ByteValue) As Byte
Public Shared Widening Operator CType (value As ByteValue) As Byte

参数

xmlAttributevalue
ByteValue

返回

转换后 Byte 的值。

例外

当 为 null 时 value 引发。

适用于