op_Explicit

explicit operator

Casts specific Byte (8-bit octet) to the corresponding TextDecorationLineType, throws exception if casting is invalid

public static explicit operator TextDecorationLineType(byte octet)
Parameter Type Description
octet Byte A 8-bit octet (bitfield), where 5 leading bits are zeros, while last 3 indicate flags

Exceptions

exception condition
ArgumentOutOfRangeException Specified octet has invalid value

See Also


explicit operator

Casts specified TextDecorationLineType instance to the equivalint octet (8-bit bitfield)

public static explicit operator byte(TextDecorationLineType input)
Parameter Type Description
input TextDecorationLineType TextDecorationLineType instance to cast

See Also