Determines the type of an object or control, reported as a value of the Object enumerated datatype.

object objectname.TypeOf ( )
Argument  | 
Description  | 
|---|---|
objectname  | 
The name of the object or control for which you want the type  | 
Object enumerated datatype. Returns the type of objectname. If objectname is NULL, TypeOf returns NULL.
Inherited from PowerObject. For information, see TypeOf in the PowerScript Reference.