XppPrePostArgs.getArg Method

Retrieves the publisher's argument by name.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public anytype getArg(str argName)

  Microsoft Dynamics AX 2012 R2 (SYS)
          public anytype getArg(str argName)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public anytype getArg(str _fieldName)

  Microsoft Dynamics AX 2012 (FPK)
          public anytype getArg(str _fieldName)

  Microsoft Dynamics AX 2012 (SYS)
          public anytype getArg(str _fieldName)

Run On

Called

Parameters

  • argName
    Type: str
    A string data type value that specifies the name of the argument to get.

Return Value

Type: anytype
An anytype data type value that represents the specified argument.

Remarks

Argument names are case insensitive.

See Also

Reference

XppPrePostArgs Class