Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the symbol, or the value of the Name property, of a specified enumeration value.
Syntax
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.
Remarks
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.