Share via


IXFeedsEnum::Item Method

Returns an object by index.

Syntax

HRESULT Item(
    UINT uiIndex,
    REFIID riid,
    void **ppv
);

Parameters

  • uiIndex
    [in] Unsigned integer value that specifies the zero-based index of the object to retrieve.
  • riid
    [in] 
  • ppv
    [out] Address of a pointer variable of type IXFeed that receives the feed.

Return Value

Returns S_OK if successful, or E_NOINTERFACE if the interface is not supported.