xArgs.newmethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
newmethod() |
Constructs an instance of this class, which is used to pass information to high-level classes such as the FormRun or ReportRun class. |
newmethod(Object) | |
newmethod(Object, XppObjectBase) |
newmethod()
Constructs an instance of this class, which is used to pass information to high-level classes such as the FormRun or ReportRun class.
protected:
override void newmethod();
protected override void newmethod ();
override this.newmethod : unit -> unit
Protected Overrides Sub newmethod ()
Remarks
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.
Applies to
newmethod(Object)
public:
void newmethod(System::Object ^ obj1);
public void newmethod (object obj1);
override this.newmethod : obj -> unit
Public Sub newmethod (obj1 As Object)
Parameters
- obj1
- Object
Applies to
newmethod(Object, XppObjectBase)
public:
void newmethod(System::Object ^ _nameOrCaller, Microsoft::Dynamics::Ax::Xpp::XppObjectBase ^ _object);
public void newmethod (object _nameOrCaller, Microsoft.Dynamics.Ax.Xpp.XppObjectBase _object);
override this.newmethod : obj * Microsoft.Dynamics.Ax.Xpp.XppObjectBase -> unit
Public Sub newmethod (_nameOrCaller As Object, _object As XppObjectBase)
Parameters
- _nameOrCaller
- Object
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.
- _object
- XppObjectBase
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.