Subscriber portal
Returns the enumeration value of the item that is referenced by its label.
public int name2Value(str name)
For backward compatibility with earlier versions of Microsoft Dynamics AX, name refers to the label. Enumeration items that do not have labels cannot be found by using the DictEnum::name2Value method.