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: |
Folders collection |
Child
objects: |
Folder |
Default
property: |
Messages |
Properties
|
Available
in version |
|
|
Application |
1.0 |
String |
Read-only |
Class |
1.0 |
Long |
Read-only |
Fields |
1.0 |
Field object
or Fields collection object |
Read-only |
FolderID |
1.0 |
String |
Read-only |
Folders |
1.0 |
Folders
collection object |
Read-only |
|
|
|
|
ID |
1.0 |
String |
Read-only |
MAPIOBJECT |
1.0 |
Object |
Read/write
(Note: Not available to Visual Basic applications) |
Messages |
1.0 |
Messages
collection object |
Read-only |
Name |
1.0 |
String |
Read/write |
Parent |
1.0 |
Folders
collection object or InfoStore object |
Read-only |
Session |
1.0 |
Session
object |
Read-only |
StoreID |
1.0 |
String |
Read-only |
Methods
|
Available
in version |
|
CopyTo |
1.1 |
folderID as
String, |
Delete |
1.0.a |
(none) |
IsSameAs |
1.1 |
object as
Object |
MoveTo |
1.1 |
folderID as
String, |
Update |
1.0 |
(optional)
makePermanent 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.