Freigeben über


IPOutlookItemCollection::get_Count

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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 Value

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

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Tasks

Listing All PIM Items in a Folder

Reference

Pocket Outlook Object Model Interfaces

Other Resources