DOFTypeasULong Method OpenDOF Object Access Library
Returns the result's value as a ulong.

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

C#
public static ulong asULong(
	DOFValue value
)

Parameters

value
Type: org.opendof.core.oalDOFValue
Value to return as unsigned long

Return Value

Type: UInt64
the result's value as an unsigned long.
Remarks

Returns the result's value as a ulong. Compatible with results of type org.opendof.core.oal.value.DOFUInt64 and all types supported by asUInt(DOFValue) .

Throws ClassCastException if called on a non-unsigned-long result.

See Also

Reference