Share via


ByteValue.ToByte Method

Returns the internal Byte representation of a ByteValue object.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Function ToByte ( _
    xmlAttribute As ByteValue _
) As Byte
'Usage
Dim xmlAttribute As ByteValue
Dim returnValue As Byte

returnValue = ByteValue.ToByte(xmlAttribute)
public static byte ToByte(
    ByteValue xmlAttribute
)

Parameters

Return Value

Type: System.Byte
A Byte value that represents a ByteValue object.

See Also

Reference

ByteValue Class

ByteValue Members

DocumentFormat.OpenXml Namespace