Поделиться через


IMAPIContainer : IMAPIProp

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

Vtable Order

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

Concepts

MAPI Interfaces