Share via


IItem::get_Parent

4/8/2010

The get_Parent method gets a PIM item's parent folder.

Syntax

HRESULT get_Parent(
   IFolder ** ppIFolder
)

Parameters

  • ppIFolder
    [out] Reference to the parent IFolder object.

Return Value

This method returns the standard values HRESULT_FROM_WIN32(GetLastError()), E_INVALIDARG, and S_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

IItem
IFolder

Other Resources