Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets the maximum number of downloaded items for the feed.
Syntax
HRESULT SetMaxItemCount( UINT uiMaxItemCount );
Parameters
- uiMaxItemCount
[in] Unsigned integer variable that specifies the maximum number of downloaded items, or0to keep all items.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
If the new value exceeds the system-defined limit set by IXFeedsManager::ItemCountLimit, this method will return E_INVALIDARG. The default value is 200 items.
Setting this property does not take effect until the next synchronization operation. To "apply" this change (purge old items), an application must call IXFeed::Download.
See Also