Objecttype

This built-in property returns the name of the class or representation of an instance.

Syntax

MY_INSTANCE.objecttype

Example

Local Instance OBJ Using OBJECTOBJ = NewInstance [GRP] Using C_CUSTOMERTYPE= OBJ.objecttype# TYPE is "C_CUSTOMER"OBJ = NewInstance [GRP] USING C_SALESREP# TYPE is "C_SALESREP"

See also

Structure, Instance, SetInstance, NewInstance, null, FreeInstance, FreeGroup, cast.