IMAPIContainer : IMAPIProp

Last modified: January 16, 2009

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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.

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

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

Community Additions

ADD
Show:
© 2014 Microsoft