Partager via


IItem2 (Compact 7)

3/12/2014

The IItem2 interface represents a generic PIM item. Specialized PIM items are based on the the Outlook Mobile object types.

Methods in Vtable Order

IItem2 methods Description

IItem2::get_ItemId

New for Windows Embedded Compact 7. Gets the PIM item's item identifier (POLITEMID).

IItem2::GetProps

Gets a PIM item's list of property values.

IItem2::SetProps

Sets a PIM item's list of property values.

IItem2::Save

Saves a PIM item to the data store.

IItem2::Delete

Deletes a PIM item from the data store.

IItem2::Display

Displays the PIM item's Summary tab.

IItem2::Edit

Displays the PIM item's Edit tab.

IItem2::Copy

Creates a copy of a PIM item.

IItem2::OpenProperty

Opens a stream property for a PIM item.

IItem2::get_DefaultItemType

Gets a PIM item's type.

IItem2::get_Application

Gets a handle to the Outlook Mobile application object - the POOM entry point.

IItem2::get_Parent

Gets a PIM item's parent folder.

IItem2::get_Store

New for Windows Embedded Compact 7. Gets the PIM item's Store object.

IItem2::AddCategory

Adds a category to the PIM item's PIMPR_CATEGORIES property.

IItem2::RemoveCategory

Removes a category from the PIM item's PIMPR_CATEGORIES property.

IItem2::MoveToFolder

New for Windows Embedded Compact 7. Moves the PIM item into a new parent folder.

IItem2::CopyToFolder

New for Windows Embedded Compact 7. Create a copy of the PIM item, and moves it into a new parent folder.

Remarks

The IItem2 interface was introduced in Windows Embedded Compact 7.

The IItem2 interface allows you to work with a PIM item without the need to know it's type. For more information on the Outlook Mobile object types, see OlObjectType.

Requirements

Header

pimstore.h

Library

Pimstore.lib

See Also

Reference

Pocket Outlook Object Model Interfaces