IASPowerListBox::ItemAt

This method retrieves a pointer to an item specified by its index.

Syntax

HRESULT ItemAt( long lIndex IDispatch **ppdispItem );

Parameters

lIndex
Long integer that contains the index of the item.
ppdispItem
Pointer to a pointer to the item’s IDispatch interface.

Return Values

NOERROR indicates success. E_OUTOFMEMORY indicates that the system is out of memory.