Determines the type of an object or control, reported as a value of the Object enumerated datatype.
DataWindow type |
Method applies to |
---|---|
PowerBuilder |
DataWindow control, DataWindowChild object, DataStore object |
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.