The ObjectDescription attribute sets or reads the multilingual object description of an object. When an object is created or the class of the object is changed, the multilingual description of the object-generating class is assumed to be the description of the object. This attribute can be used to change this description.
Syntax | |
ObjectDescription | |
Return value | |
Type |
Description |
String |
The multilingual object description |
Example:
There is a class Car with the multilingual description ‘Mercedes’. In the class, where the code runs, there is an object definition ‘Car’, defined with the TCE class ‘Car’.
Car := New ::Car
MsgBox Car.ObjectDescription
# shows: Mercedes
Car.ObjectDescription := "My lovely old car"
MsgBox Car.ObjectDescription
# shows: My lovely old car