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
- xmlAttribute
Type: DocumentFormat.OpenXml.ByteValue
A ByteValue object to retrieve an internal Byte representation.
Return Value
Type: System.Byte
A Byte value that represents a ByteValue object.