IMAPIContainer : IMAPIProp

Applies to: Outlook 2013 | Outlook 2016

Manages high-level operations on container objects such as address books, distribution lists, and folders. The IMAPIFolder : IMAPIContainer, IABContainer : IMAPIContainer, and IDistList : IMAPIContainer interfaces are derived from IMAPIContainer.

Property Value
Header file:
Mapidefs.h
Exposed by:
Folder, address book container, and distribution list objects
Implemented by:
Message store, address book, and remote transport providers
Called by:
Client applications
Interface identifier:
IID_IMAPIContainer
Pointer type:
LPMAPICONTAINER
Transaction model:
Abstract class, never implemented

Vtable order

Member Description
GetContentsTable
Returns a pointer to the container's contents table.
GetHierarchyTable
Returns a pointer to the container's hierarchy table.
OpenEntry
Opens an object in the container, returning an interface pointer for further access.
SetSearchCriteria
Establishes search criteria for the container.
GetSearchCriteria
Obtains the search criteria for the container.
Required properties Access
PR_CONTAINER_HIERARCHY (PidTagContainerHierarchy)
Read-only
PR_CONTAINER_CONTENTS (PidTagContainerContents)
Read-only
PR_CONTAINER_FLAGS (PidTagContainerFlags)
Read/write

See also

MAPI Interfaces