IJSObjects::Item Method
Description
This method retrieves an item from a collection.
Syntax
[propget, id(0x00000000), defaultcollelem]
HRESULT _stdcall Item([in] VARIANT Index, [out, retval] IJSObject** Value);
Parameters
| Parameter | Type | Description |
|---|---|---|
[in] Index |
VARIANT | An OleVariant representing either a numeric index or string name identifying the desired collection item |
[out, retval] Value |
IJSObject** | Receives a pointer to the selected item object |
Return Value
The method returns the specified item from the collection, accessible through the Value parameter.
Details
- Property Type: Get property
- Default Collection Element: Yes
- Group: Part of the IJSObjects Methods collection