DOFResultTasLong Method OpenDOF Object Access Library
Returns the result's value as a Long.

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

C#
long asLong()

Return Value

Type: Int64
the result's value as an unsigned int.
Remarks

Returns the result's value as a Long. Compatible with results of type org.opendof.core.oal.value.DOFUInt32 , org.opendof.core.oal.value.DOFInt64 and all types accepted by DOFResult<T>.asInt() .

Throws ClassCastException if called on a non-integer result.

See Also

Reference