XppPrePostArgs::setReturnValueStatic Method [AX 2012]

Is a static method that sets the publisher's return value by using a specified instance of the XppPrePostArgs class.

client server public static int setReturnValueStatic(anytype value, XppPrePostArgs _this)

Run On

Called

Parameters

value
Type: anytype
An anytype data type value to assign as the return value of a publisher.
_this
Type: XppPrePostArgs Class
An XppPrePostArgs data type value that represents the instance of an XppPrePostArgs class.

Return Value

Type: int
An int data type value of 1.

This static method is not intended for pre-handlers or for publishers that return void.

Show: