IJSEvent::ArgumentAsJSON Method
Description
This method configures an argument by supplying a JSON-formatted string value.
Syntax
[id(0x000000D1)]
HRESULT _stdcall ArgumentAsJSON(
[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 with a valid JSON format. |
OutRetVal |
IJSEvent** | Returns a reference to the parent IJSEvent object. |
Return Value
The method returns the parent IJSEvent object, enabling method chaining.
Notes
- Method ID:
0x000000D1 - Uses standard COM calling conventions (
_stdcall)