identifierStr Function

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Converts the specified identifier to a string.

str identifierStr(str ident)

Parameters

Parameter

Description

ident

The identifier to convert.

Return Value

A string that represents the specified identifier.

Remarks

This function is a compile-time function, which is a metadata assertion function. Compile-time functions take arguments that represent entities in the Application Object Tree (AOT) and validate these arguments at compile time. They have no effect at run time.

Example

The following code example assigns the myvar variable name to the thevar variable.

    static void indentifierStrExample(Args _args)
    {
        str myvar;
        str thevar
        ;
        
        thevar = "[" + identifierStr(myvar) + "]";
        Global::info(strfmt(thevar));
    }
    /****Infolog Display
    Message (09:19:49 am)
    [myvar]
    ****/

See also

Intrinsic Functions

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).