TypeOf

Description

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

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control, DataWindowChild object, DataStore object


Syntax

PowerBuilder

object objectname.TypeOf ( )

Argument

Description

objectname

The name of the object or control for which you want the type


Return value

Object enumerated datatype. Returns the type of objectname. If objectname is null, TypeOf returns null.

Usage

Inherited from PowerObject. For information, see the section called “TypeOf” in PowerScript Reference.

See also

ClassName