ByteValue.Implicit Operator

Definition

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)

Initializes a new instance of the ByteValue class by implicitly converting the supplied Byte value.

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

value
Byte

The Byte value.

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.

Applies to