共用方式為


IMAPIProp : IUnknown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Enables clients, service providers, and MAPI to work with properties. All objects that support properties implement this interface.

Header file:

Mapidefs.h

Exposed by:

No object exposes this interface directly.

Implemented by:

Service providers and MAPI

Called by:

Client applications, service providers, and MAPI

Interface identifier:

IID_IMAPIProp

Pointer type:

LPMAPIPROP

Transaction model:

Abstract class, never implemented

Vtable Order

GetLastError

Returns a MAPIERROR structure that contains information about the previous error.

SaveChanges

Makes permanent any changes that were made to an object since the last save operation.

GetProps

Retrieves the property value of one or more properties of an object.

GetPropList

Returns property tags for all properties.

OpenProperty

Returns a pointer to an interface that can be used to access a property.

SetProps

Updates one or more properties.

DeleteProps

Deletes one or more properties from an object.

CopyTo

Copies or moves all properties, except for specifically excluded properties.

CopyProps

Copies or moves selected properties.

GetNamesFromIDs

Provides the property names that correspond to one or more property identifiers.

GetIDsFromNames

Provides the property identifiers that correspond to one or more property names.

Remarks

IMAPIProp is the base interface for the following interfaces:

See Also

Concepts

MAPI Interfaces