This documentation is archived and is not being maintained.
XppPrePostArgs.setArgNum Method [AX 2012]
Sets the publisher's argument by index.
public int setArgNum(int argIndex, anytype value)
Run On
Called
Parameters
-
argIndex
- Type: int
An int index of the target argument.
-
value
- Type: anytype
An anytype value to assign to the specified argument.
Return Value
Type:
int
An int data type value of 1.
The index range is 0-based for static publishers but 1-based for instance publishers.