IPOutlookItemCollection::get_Count
The Count property gets the number of items in the collection.
Syntax
HRESULT get_Count(
int * pnCount
);
Parameters
- pnCount
[out] Reference to the number of items.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The method completed successfully.
Remarks
IPOutlookItemCollection::get_Count returns a value of 0x7fffffff when you set IncludeRecurrences to TRUE.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: pimstore.h
Library: pimstore.lib
See Also
How to: List all PIM Items in a Folder | IPOutlookItemCollection | Pocket Outlook Object Model API Interfaces
Send Feedback on this topic to the authors