Folder Object

The Folder object represents a folder or container within the MAPI system. Folders can contain subfolders and messages.

Quick Info

Specified in header file:

MDISP.ODL

First available in version:

OLE Messaging Library 1.0

Parent objects:

Folders1TAZ6M collection
InfoStore14IU0EN

Child objects:

FolderKM47H0

Default property:

Messages1B95_J2

 

 

Properties

 
Property name

Available in version

 
Type

 
Access

Application5GI0QO

1.0

String

Read-only

Class1CT5_O0

1.0

Long

Read-only

Fields192._57

1.0

Field object or Fields collection object

Read-only

FolderID2XUTWC6

1.0

String

Read-only

Folders32E.JIP

1.0

Folders collection object

Read-only

 

 

 

 

IDY080V6

1.0

String

Read-only

MAPIOBJECT1H7KHEP

1.0

Object

Read/write (Note: Not available to Visual Basic applications)

Messages1B95_J2

1.0

Messages collection object

Read-only

NameTPEIWF

1.0

String

Read/write

Parent13HN1VR

1.0

Folders collection object or InfoStore object

Read-only

Session23X3PG

1.0

Session object

Read-only

StoreID7ODBME

1.0

String

Read-only

 

Methods

 
Method name

Available in version

 
Parameters

CopyTo1RHSLQB

1.1

folderID as String,
(optional) storeID as String,
(optional) name as String,
(optional) copySubfolders as Boolean

DeleteY7GHQ6

1.0.a

(none)

IsSameAs4CVEYN

1.1

object as Object

MoveTo19QVNKO

1.1

folderID as String,
(optional) storeID as String

UpdateCEIX8P

1.0

(optional) makePermanent as Boolean,
(optional) refreshObject as Boolean

 

Remarks

A Folder object is considered a top-level object, meaning it can be created directly from a Visual Basic program, through either late binding or early binding.

Changes to the folder are not saved by MAPI until you call the Update method.