共用方式為


IXFeed::UnreadItemCount Method

Returns the count of unread feed items.

Syntax

HRESULT UnreadItemCount(
    UINT *puiUnreadItemCount
);

Parameters

  • puiUnreadItemCount
    [out] Address of an unsigned integer variable that receives the number of unread items.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The IXFeed::UnreadItemCount property is a cached value and does not require access to the feed file.

See Also

IXFeed::ItemCount, IXFeedFolder::TotalItemCount