DictEnum.value2Symbol Method [AX 2012]

Returns the symbol, or the value of the Name property, of a specified enumeration value.

public str value2Symbol(int value)

Run On

Called

Parameters

value
Type: int
The integer value for the enumeration for which the symbol is being retrieved.

Return Value

Type: str
The symbol or name for value; an empty string if value is not a valid enumeration.

Enumeration values are required to have a symbol. This method can be used to determine whether an enumeration value exists by checking whether the return value is an empty string.

Community Additions

ADD
Show: