DOFValuegetDOFType Method OpenDOF Object Access Library
Return the DOFType of the value.

The type returned must be the one that is related directly to this value implementation. In other words, calling DOFType.getInstance(DOFPacket) on that type must return the same class as this value.

Note that queries made against the type of the value do not represent the specific details of the value itself, rather they represent the capabilities of the value. For example, asking the type what a type's maximum length is by using DOFType.getMaxLength() does not indicate anything about the actual length of a given value - even if that value returned the type using this call. This allows a common DOFType implementation to be associated with many different values.

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

C#
DOFType getDOFType()

Return Value

Type: DOFType
The type associated with the value.
See Also

Reference