DOFTypegetTypeID Method OpenDOF Object Access Library
Get the type identifier of this type.

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

C#
public virtual short getTypeID()

Return Value

Type: Int16
The type identifier of this DOFType.
Remarks

Get the type identifier of this type.

The type identifier is assigned to the type in the DOF ProtocolSpecification. The type identifier is one aspect of type equivalence, and for some types (those that do not have associated type data like lengths or subtypes) the equality of type identifiers determines type equivalence.

Care should be taken, however, not to assume that the lack of type identifier equivalence determines that the types are not compatible.

See Also

Reference