Subscriber portal
Returns the name of a specified enumeration value.
public str value2Name(int value)
To determine whether a value is in the enumeration, use the value2Symbol method instead. The value2Name method cannot be used to determine whether a value is in the enumeration, because enumeration items are not required to have a label.