共用方式為


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

Return Value

Type: System.Byte
The internal Byte value.

Exceptions

Exception Condition
InvalidOperationException

Thrown when "xmlAttribute" is null.

See Also

Reference

ByteValue Class

ByteValue Members

Implicit Overload

DocumentFormat.OpenXml Namespace