IJSEvent::ArgumentAsInt Method
Description
This method configures an argument using an integer data type.
Syntax
[id(0x000000CE)]
HRESULT _stdcall ArgumentAsInt(
[in] VARIANT Index,
[in] long Value,
[out, retval] IJSEvent** OutRetVal
);
Parameters
| Parameter | Type | Description |
|---|---|---|
Index |
VARIANT (in) | OleVariant. Number or string value identifying the argument by index or name. |
Value |
long (in) | An integer value to assign to the argument. |
OutRetVal |
IJSEvent** (out, retval) | Returns a reference to the parent IJSEvent object. |
Return Value
The method returns the parent IJSEvent object, enabling method chaining.