Share via


XppPrePostArgs::setReturnValueStatic Method

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

Syntax

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.

Remarks

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

See Also

Reference

XppPrePostArgs Class