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.ByteValuePublic Shared Widening Operator CType (value As Byte) As ByteValueParameters
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 -> bytestatic member op_Implicit : DocumentFormat.OpenXml.ByteValue -> bytePublic Shared Widening Operator CType (xmlAttribute As ByteValue) As BytePublic Shared Widening Operator CType (value As ByteValue) As ByteParameters
- xmlAttributevalue
- ByteValue
Returns
The converted Byte value.
Exceptions
Thrown when value is null.