XppPrePostArgs.existsArg Method

Checks the existence of 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 boolean existsArg(str argName)

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean existsArg(str argName)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean existsArg(str _fieldName)

  Microsoft Dynamics AX 2012 (FPK)
          public boolean existsArg(str _fieldName)

  Microsoft Dynamics AX 2012 (SYS)
          public boolean existsArg(str _fieldName)

Run On

Called

Parameters

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

Return Value

Type: boolean
A Boolean data type value that indicates whether the specified argument exists.

Remarks

Argument names are case insensitive.

See Also

Reference

XppPrePostArgs Class