title | description | manager | ms.date | ms.audience | ms.topic | ms.service | ms.localizationpriority | api_name | api_type | ms.assetid | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|
IMAPIFolder IMAPIContainer |
IMAPIFolderIMAPIContainer performs operations on the messages and subfolders in a folder. This article describes the related properties and members. |
lindalu |
03/09/2015 |
Developer |
reference |
office-online-server |
medium |
|
|
bc2e8d17-7687-43c2-8f01-b677703f7288 |
Applies to: Outlook 2013 | Outlook 2016
Performs operations on the messages and subfolders in a folder.
Property | Value |
---|---|
Header file: |
Mapidefs.h |
Exposed by: |
Folder objects |
Implemented by: |
Message store providers |
Called by: |
Client applications and MAPI |
Interface identifier: |
IID_IMAPIFolder |
Pointer type: |
LPMAPIFOLDER |
Transaction model: |
Nontransacted |
Member | Description |
---|---|
CreateMessage |
Creates a new message. |
CopyMessages |
Copies or moves one or more messages. |
DeleteMessages |
Deletes one or more messages. |
CreateFolder |
Creates a new subfolder. |
CopyFolder |
Copies or moves a subfolder. |
DeleteFolder |
Deletes a subfolder. |
SetReadFlags |
Sets or clears the MSGFLAG_READ flag in the PR_MESSAGE_FLAGS (PidTagMessageFlags) property of one or more of the folder's messages, and manages the sending of read reports. |
GetMessageStatus |
Obtains the status associated with a message in a particular folder. |
SetMessageStatus |
Sets the status associated with a message. |
SaveContentsSort |
Sets the default sort order for a folder's contents table. |
EmptyFolder |
Deletes all messages and subfolders from a folder without deleting the folder itself. |
Required properties | Access |
---|---|
PR_DISPLAY_NAME (PidTagDisplayNamePrefix) |
Read/write |
PR_ENTRYID (PidTagEntryId) |
Read-only |
PR_FOLDER_TYPE (PidTagFolderType) |
Read/write |
PR_OBJECT_TYPE (PidTagObjectType) |
Read-only |
PR_PARENT_ENTRYID (PidTagParentEntryId) |
Read-only |
PR_RECORD_KEY (PidTagRecordKey) |
Read-only |
PR_STORE_ENTRYID (PidTagStoreEntryId) |
Read-only |
PR_STORE_RECORD_KEY (PidTagStoreRecordKey) |
Read-only |