次の方法で共有


IMAPIMessageSite : IUnknown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Manipulates messages and is implemented by the form viewer code (typically a client application) that responds to such manipulation.

Header file:

Mapiform.h

Exposed by:

Message site objects

Implemented by:

Form viewers

Called by:

Form objects

Interface identifier:

IID_IMAPIMessageSite

Pointer type:

LPMAPIMESSAGESITE

Vtable Order

GetSession

Returns the MAPI session in which the current message was created or opened.

GetStore

Returns the message store that contains the current message, if such a store exists.

GetFolder

Returns the folder in which the current message was created or opened, if such a folder exists.

GetMessage

Returns the current message.

GetFormManager

Returns a form manager interface, which a form server can use to open another form server.

NewMessage

Creates a new message.

CopyMessage

Copies the current message to a folder.

MoveMessage

Moves the current message to a folder.

DeleteMessage

Deletes the current message.

SaveMessage

Requests that the current message be saved.

SubmitMessage

Requests that the current message be queued for delivery.

GetSiteStatus

Returns information from a message site object about the message site's capabilities for the current message.

GetLastError

Returns a MAPIERROR structure that contains information about the previous error occurring to the message site object.

See Also

Concepts

MAPI Interfaces