DOFResultTasUShort Method OpenDOF Object Access Library
Returns the result's value as a ushort.

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

C#
ushort asUShort()

Return Value

Type: UInt16
the result's value as a ushort.
Remarks

Returns the result's value as a ushort. Compatible with results of type org.opendof.core.oal.value.DOFUInt16 and all types accepted by DOFResult<T>.asByte() .

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

See Also

Reference