IJSProperties::Item Method
Description
This method retrieves an item from the collection.
Syntax
[propget, id(0x00000000), defaultcollelem]
HRESULT _stdcall Item([in] VARIANT Index, [out, retval] IJSProperty** Value);
Parameters
| Parameter | Type | Description |
|---|---|---|
Index |
VARIANT | “Number indicating the index of the item in the collection or string indicating the name of the item.” |
Value |
IJSProperty** | The selected item returned by the method. |
Details
- Method Type: Property getter
- Return Type: HRESULT
- Related Group: IJSProperties Methods
The Item method functions as the default collection element accessor, allowing retrieval of properties by either numeric position or string-based identifier.