Partager via


IFeed::GetItem Method

Returns an IFeedItem object by ID.

Syntax

HRESULT GetItem(
    LONG itemId,
    IDispatch **disp
);

Parameters

  • itemId
    [in] Long integer value that specifies the system-assigned ID of the object to retrieve.
  • disp
    [out, retval] Address of a pointer variable of type IDispatch that receives the feed item or NULL if the item does not exist.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IFeed::Items