共用方式為


IXFeed::GetItem Method

Returns a feed item by ID.

Syntax

HRESULT GetItem(
    UINT uiId,
    REFIID riid,
    void **ppv
);

Parameters

  • uiId
    [in] Long integer value that specifies the system assigned ID of the object to retrieve.
  • riid
    [in] IID of the requested interface.
  • ppv
    [out] Address of a pointer variable that receives the feed item or NULL if the item does not exist.

Return Value

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

See Also

IXFeed::Items