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.
Windows CE platforms
This object can be used only in the development environment.
It cannot be used in applications deployed to a Pocket PC or Smartphone
device or emulator.
Enumeration ItemDefinition 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 PocketBuilder associates with Left! The numeric value is only important if you are constructing source code for an object. Within PocketBuilder, you use the named value so that the datatype is correct. |
Enumeration ItemDefinition 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. |
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |