IFolder::get_DefaultItemType (Compact 7)

3/12/2014

The DefaultItemType property gets the folder type.

Syntax

HRESULT get_DefaultItemType(
  int * polItem
);

Parameters

  • polItem
    [out] Reference to the PIM item type. One of the OlItemType enumeration values.

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

This method is not supported for the Infrared folder and returns E_INVALIDARG if called on it.

Requirements

Header

pimstore.h

Library

Pimstore.lib

See Also

Reference

IFolder
Pocket Outlook Object Model Interfaces
Pocket Outlook Object Model Enumerations