GetEnumValue( ) method

Returns the underlying numeric value of the specified enum member. The method returns an error if invoked on a type that is not an enumeration or if passed the Unknown value (?).

Return type: INT64

Access: PUBLIC

Applies to:Progress.Lang.Class class

Syntax

GetEnumValue ( INPUT enum-member-name AS CHARACTER )
enum-member-name
The name of an enum member of the enum type the method is invoked on. For a flag enum type, this can be a comma-delimited list of names. If no member is defined for the specified name, or any of the names in a list is not defined, the method returns the Unknown value (?).