GetEnumItemValue

PowerBuilder Native Interface

IPB_Session interface:

GetEnumItemValue method

Description

Syntax

GetEnumItemValue(LPCTSTR enumName, LPCTSTR enumItemName)

Return Values

Examples

pblong lType = session->GetEnumItemValue("object",
   boolean" ); // returns 138
LPCTSTR szEnum = session->GetEnumItemName( "object",
   lType ); // returns "boolean"

Usage

Note The ! character must be omitted

See Also