A class that provides information about the value names and the associated numeric values for an enumerated datatype. It is used in the EnumerationDefinition class. It has no events.
EnumerationItemDefinition property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
Name |
String |
The name of an enumerated value. For example, Left! is a named value of the enumerated datatype Alignment. |
Value |
Long |
The numeric value associated with the name. For example, 0 is the value PowerBuilder associates with Left! The numeric value is important only if you are constructing source code for an object. Within PowerBuilder, you use the named value so that the datatype is correct. |
EnumerationItemDefinition function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the object. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Object |
Returns the type of the object. |