DOFTypeasByte Method OpenDOF Object Access Library
Returns the result's value as an unsigned byte.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static byte asByte(
	DOFValue value
)

Parameters

value
Type: org.opendof.core.oalDOFValue
Value to return as byte Throws ClassCastException if called on a non-unsigned-byte result.

Return Value

Type: Byte
the result's value as an unsigned byte.
Remarks

Returns the result's value as a byte. Compatible with results of type org.opendof.core.oal.value.DOFUInt8 .

See Also

Reference