Share via


IXFeedsManager::ItemCountLimit Method

Returns the system-defined limit of items retained for feeds.

Syntax

HRESULT ItemCountLimit(
    UINT *puiItemCountLimit
);

Parameters

  • puiItemCountLimit
    [out] Address of an unsigned integer variable that receives the value.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The value of IXFeedsManager::ItemCountLimit can only be changed by creating the following DWORD registry key:

HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE
     Software
          Microsoft
               Feeds
                    MaxItemCount

If the registry key is not found, the property has a default value of 2500.

See Also

IXFeed::MaxItemCount