enum2Str Function
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Converts the specified enumerated text to a character representation.
str enum2Str(enum enum)
Parameters
Parameter |
Description |
---|---|
enum |
The enumerated text to convert. |
Return Value
The value of the enumeration as a string.
Example
The following example returns the string "Not included." It is the label for the IncludeNot value of the ListCode enumeration type.
static void enum2StrExample(Args _arg)
{
ListCode l;
;
l = ListCode::IncludeNot;
print enum2Str(l);
pause;
}
See also
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).