IXFeed::ItemCount Method

Retrieves the count of items in this feed.

Syntax

HRESULT ItemCount(
    UINT *puiItemCount
);

Parameters

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

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The IXFeed::ItemCount property is a cached value and does not require access to the feed file. Use in place of the Count property of the IXFeed::Items collection for faster performance.

See Also

IXFeedFolder::TotalItemCount, IXFeed::UnreadItemCount