IJSEvent::ArgumentAsFloat Method
Description
This method assigns a floating-point numeric value to an argument within an event context.
Syntax
[id(0x000000D0)]
HRESULT _stdcall ArgumentAsFloat(
[in] VARIANT Index,
[in] float Value,
[out, retval] IJSEvent** OutRetVal
);
Parameters
| Parameter | Type | Description |
|---|---|---|
Index |
VARIANT (OleVariant) | Number or string value identifying the argument by index or name. |
Value |
float | The floating-point number to assign to the argument. |
OutRetVal |
IJSEvent** | Returns the parent IJSEvent. |
Return Value
The method provides a reference to the parent IJSEvent object through the OutRetVal output parameter, enabling method chaining.