ByteValue.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Implicit(Byte to ByteValue) |
Initializes a new instance of the ByteValue class by implicitly converting the supplied Byte value. |
Implicit(ByteValue to Byte) |
Implicitly converts the specified value to a Byte value. |
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
Parameters
Returns
A new ByteValue instance with the value.
Applies to
Implicit(ByteValue to Byte)
Implicitly converts the specified value to a Byte value.
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
Parameters
- xmlAttributevalue
- ByteValue
Returns
The converted Byte value.
Exceptions
Thrown when value
is null.