|Manuals

IJSEvent::AddArgument Method

Description

This method appends a new argument to the collection of arguments associated with an IJSEvent object.

Syntax

[id(0x000000CB)]
HRESULT _stdcall AddArgument(
  [in] BSTR Name,
  [in] enum IJSDataType DataType,
  [out, retval] IJSEvent** OutRetVal
);

Parameters

Parameter Type Description
Name BSTR (input) Name of argument
DataType enum IJSDataType (input) Data type classification for the argument being added
OutRetVal IJSEvent** (output) Returns the parent IJSEvent

Return Value

The method returns a reference to the parent IJSEvent object, enabling method chaining or further manipulation of the event.

See Also

  • Related Type: IJSDataType