OT ItemType(inObject; inTag) Number
→
Parameter Type Description
inObject Longint inTag String Function result Number A handle to an object
→ Tag of the item to query → The type of the item←
Discussion
OT ItemType returns the type of the item referenced by inTag.
If inObject is not a valid object handle or if no item in object has the given tag, an error is generated, OK is set to zero, and zero is returned.
If an item with the given tag exists, its type is returned.
See Also
OT GetAllProperties , OT GetNamedProperties , OT GetItemProperties

