MAPIFolder object

 

This object is obsolete. Use RDOFolder object instead.

 

MAPIFolder object exposes Outlook.MAPIFolder object's properties and methods blocked by the security patch.

 

Properties

Methods

 


Derived from: IDispatch


Properties


DeletedItems
DeletedItems, read-only. Collection representing the folder's deleted messages that can be restored. Exchange only in the online mode, the retention policy must be set on the Server.
 
Fields[PropTag]

Returns or sets an Extended MAPI property

PropTag -  integer Extended MAPI property tag (e.g. 0x0037001E for PR_SUBJECT_A)

Note that RDO family of objects also supports accessing MAPI properties by a DASL property name.

  

You can use one of the MAPITags enumeration elements, e.g. MAPITags.PR_SUBJECT.

 

Scalar properties are returned as variants of the corresponding type (e.g. PT_STRING8 and PT_UNICODE properties are returned as strings, PT_LONG as integers, etc).

For the object properties (PT_OBJECT, such as PR_CONTAINER_CONTENTS, PR_ACL_TABLE, etc) Redemption tries to open them as IMAPITable Extended MAPI object and, if successful, returns an instance of the Redemption.MAPITable object

  

 
HiddenItems

Items, read-only. Collection representing the folder's hidden (associated) messages.

 

 
Items

Items, read-only. Collection representing the folder's messages

 
MAPIOBJECT

IUnknown, read-only.

Returns the Extended MAPI object used internally by the RDO object; e.g., IMAPIFolder.

 

 
Version
String, Read-only. Returns Redemption library version, e.g. "5.2.0.2486"
 
 

Methods


GetIDsFromNames(GUID, ID)

Returns an id suitable for use in the Fields() collection given the GUID (as string) and ID (can be either integer or a string).

For the discussion of the named properties, see the Extended
MAPI properties
section, especially the section on named properties.