ByteValue Implicit Conversion (ByteValue to Byte)
Implicit converter to Byte.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
xmlAttribute As ByteValue _
) As Byte
'Usage
Dim input As ByteValue
Dim output As Byte
output = CType(input, Byte)
public static implicit operator byte (
ByteValue xmlAttribute
)
Parameters
- xmlAttribute
Type: DocumentFormat.OpenXml.ByteValue
The ByteValue to be converted.
Return Value
Type: System.Byte
The internal Byte value.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when "xmlAttribute" is null. |