IFolder::get_DefaultItemType

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

The DefaultItemType property gets the folder type.


HRESULT get_DefaultItemType(
  int * polItem
);

polItem

[out] Reference to the PIM item type. One of the OlItemType enumeration 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.

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

Headerpimstore.h
LibraryPimstore.lib
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: