xArgs.new Method [AX 2012]

Initializes a new instance of the Object class.

public void new([anytype nameOrCaller, Object object])

Run On

Called

Parameters

nameOrCaller
Type: anytype
An anytype value. If it is a string argument, it is considered to be a name argument; if it is an instance of a class, it is considered to be a caller argument; optional.
This parameter is used to create the instance of the xArgs class. For more information, see the name or caller methods.
object
Type: Object Class
An object argument; optional. This parameter is used to create the instance of the xArgs class and is used when the nameOrCaller parameter is a caller argument.

To create an xArgs object, either supply a (Caller, Object) pair or a Name argument. Both arguments are optional and all values can be set after it is constructed by calling the appropriate methods.

Community Additions

ADD
Show: