共用方式為


IAddrBook : IMAPIProp

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Supports access to the MAPI address book and includes operations such as displaying common dialog boxes; opening containers, messaging users, and distribution lists; and performing name resolution.

Header file:

Mapix.h

Exposed by:

Address book objects

Implemented by:

MAPI

Called by:

Client applications, service providers

Interface identifier:

IID_IAddrBook

Pointer type:

LPADRBOOK

Transaction model:

Not writable

Vtable Order

OpenEntry

Opens an address book entry and returns a pointer to an interface that can be used to access the entry.

CompareEntryIDs

Compares two entry identifiers that belong to a particular address book provider to determine whether they refer to the same address book object.

Advise

Registers a client or service provider to receive notifications about changes to one or more entries in the address book.

Unadvise

Cancels a notification registration previously established for an address book entry.

CreateOneOff

Creates an entry identifier for a one-off address.

NewEntry

Adds a new recipient to an address book container or to the recipient list of an outgoing message.

ResolveName

Performs name resolution, assigning entry identifiers to recipients in a recipient list.

Address

Displays the Outlook address book dialog box.

Details

Displays a dialog box that shows details about a particular address book entry.

RecipOptions

Not supported or documented.

QueryDefaultRecipOpt

Not supported or documented.

GetPAB

Returns the entry identifier of the container that is designated as the personal address book (PAB).

SetPAB

Designates a particular container as the personal address book (PAB).

GetDefaultDir

Returns the entry identifier for the initial address book container.

SetDefaultDir

Establishes the specified container as the default address book container that is initially made available.

GetSearchPath

Returns an ordered list of entry identifiers of the containers to be included in the name resolution process initiated by the ResolveName method.

SetSearchPath

Sets a new search path in the profile that is used for the name resolution process.

PrepareRecips

Prepares a recipient list for later use by the messaging system.

See Also

Concepts

MAPI Interfaces