IJSEvent::ArgumentAsString Method
Description
This method assigns a string value to an event argument, identified either by its index position or name.
Syntax
[id(0x000000CD)]
HRESULT _stdcall ArgumentAsString([in] VARIANT Index, [in] BSTR Value, [out, retval] IJSEvent** OutRetVal);
Parameters
| Parameter | Type | Description |
|---|---|---|
Index |
VARIANT | OleVariant. Number or string value identifying the argument by index or name. |
Value |
BSTR | String value to assign to the specified argument |
OutRetVal |
IJSEvent** | Returns the parent IJSEvent |
Return Value
The method returns a pointer to the parent IJSEvent interface, allowing for method chaining.