DOFResultTasShort Method OpenDOF Object Access Library
Returns the result's value as a short.

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

C#
short asShort()

Return Value

Type: Int16
the result's value as a short.
Remarks

Returns the result's value as a short. Compatible with results of type org.opendof.core.oal.value.DOFUInt8 , org.opendof.core.oal.value.DOFInt16 and all types accepted by DOFResult<T>.asSByte() .

Throws ClassCastException if called on a non-short result.

See Also

Reference