LazyMAPI

TMAPIFolder object represents a folder within the MAPI system. A TMAPIFolder can contain subfolders and messages.
Delphi wrapper object for IMAPIFolder.

Unit: MAPIFolders.pas
Type: Class
Inherited from: TMAPIFldHolder, TMAPIProperty

Properties inherited from TMAPIProperty

Name Access Type Description MAPI Reference
Active RW Boolean Open/Close the MAPI object.  
ID RO TBytes The ID property returns the unique identifier of the MAPI object. PR_ENTRYID
MAPIObjType RO TMAPIObjType The MAPIObjType property indicates the type of MAPI object. PR_OBJECT_TYPE
MAPIObject RO IMAPIProp Returns native MAPI IMAPIProp interfaced object.  
Properties RO TMAPIPropFields Returns one or all of the fields associated with a MAPI Property object. Each field typically corresponds to a MAPI property.  

Properties inherited from TMAPIFldHolder

Name Access Type Description
Folders RO TMAPIFolders  Returns a single children folder. 

Properties

Name Access Type Description MAPI Reference
Access RO ULONG The Access property indicates the operations available to the client for the object. PR_ACCESS
DisplayName RW WideString Contains the display name for a given MAPI object. PR_DISPLAY_NAME
Comment RW WideString Contains a comment about the purpose or content of an object. PR_COMMENT
StoreSupportMask RO ULONG Contains a bitmask of flags that client applications query to determine the characteristics of a message store. PR_STORE_SUPPORT_MASK
Signature RO TBytes Contains the mapping signature for named properties of a particular MAPI object. PR_MAPPING_SIGNATURE
ParentID RO TBytes Contains the entry identifier (ID) of the folder that contains this folder. PR_PARENT_ENTRYID
StoreID RO TBytes Contains the unique entry identifier of the message store where a folder resides. PR_STORE_ENTRYID
CreationTime RO TDateTime Contains the creation date and time of a folder. PR_CREATION_TIME
LastModificationTime RO TDateTime Contains the date and time when the object or subobject was last modified. PR_LAST_MODIFICATION_TIME
IsSupportsUnicode RO Boolean Indicates that STORE_UNICODE_OK exists in StoreSupportMask. Indicates that the message store supports Unicode storage.  
MsgCount RO Integer Contains the number of messages in a folder, as computed by the message store. PR_CONTENT_COUNT
MsgUnreadCount RO Integer Contains the number of unread messages in a folder, as computed by the message store. PR_CONTENT_UNREAD
FolderType RO TMAPIFldType Contains the Folder type (TMAPIFldType) as Inbox, Calendar, Tasks, etc  
IsRoot RO Boolean A folder that has no parent folder. The root folder of the folder hierarchy table. PR_FOLDER_TYPE
IsSearch RO Boolean A folder that contains the results of a search, in the form of links to messages that meet search criteria. PR_FOLDER_TYPE
IsGeneric RO Boolean A generic folder that contains messages and other folders. PR_FOLDER_TYPE
IsHidden RO Boolean Specifies that folder is visible/invisible for user.  
IsReadOnly RO Boolean Specifies that folder is read-only. Microsoft Exchange Server specific.  
IsSystem RO Boolean Specifies that folder is SYSTEM. Microsoft Exchange Server specific.  
HasSubFolders RO Boolean Contains TRUE if a folder contains subfolders. PR_SUBFOLDERS
Store RO TMAPIStore Allows access to TMAPIStore where this folder resides.  
ParentFolder RO TMAPIFolder Allows access to parent TMAPIFolder  
FolderClass RO WideString Contains a string value that describes the type of Message object that a folder contains. PR_CONTAINER_CLASS
Messages RO TMAPIMessages Contains one or more Message objects.  
HiddenMessages RO TMAPIMessages Contains one or more associated Message objects.  
NoCache RW Boolean If Microsoft Office Outlook is in Cached Exchange Mode and a store has been opened in cached mode, instructs to open an item or a folder on the remote (Microsoft Exchange Server) store.  
MsgBatchLoad RW word Specifies the maximum number of rows requested from IMAPITable to internal cache. Applicable to Messages property. Default value is 20. Max value  is 200.  
         

Methods

Name Description
GetObject Returns TMAPIFolder or TMAPIMessage, that reside inside this folder.
CreateFolder Create a new subfolder.
   

Top


Copyright © 2012 IMIBO
Privacy Statement