IJSEvents::Add Method
Description
This method incorporates an IJSEvent to the collection.
Syntax
[id(0x000000CD)]
HRESULT _stdcall Add([in] BSTR Name, [out, retval] IJSEvent** OutRetVal);
Parameters
| Parameter | Type | Description |
|---|---|---|
Name |
BSTR (input) | The identifier for the event being created |
OutRetVal |
IJSEvent** (output) | Receives a reference to the newly instantiated IJSEvent object |
Return Value
The method produces a fresh IJSEvent instance through the OutRetVal parameter.