ByteValue.Implicit 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Implicit(Byte to ByteValue) | |
Implicit(ByteValue to Byte) |
将指定的值隐式转换为 Byte 值。 |
Implicit(Byte to 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
参数
返回
具有 值的新 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
引发。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈