Share via


XppPrePostArgs.setArgNum(Int32, Object) Method

Definition

Sets the publisher's argument by index.

public:
 int setArgNum(int fieldIndex, System::Object ^ value);
public int setArgNum (int fieldIndex, object value);
member this.setArgNum : int * obj -> int
Public Function setArgNum (fieldIndex As Integer, value As Object) As Integer

Parameters

fieldIndex
Int32
value
Object

An anytype value to assign to the specified argument.

Returns

An int data type value of 1.

Remarks

The index range is 0-based for static publishers but 1-based for instance publishers.

Applies to